summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/sdl/sdlvideosink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index ee6e0b66..fc6247eb 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -436,7 +436,7 @@ gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf)
break;
default:
gst_pad_event_default (pad, event);
- break;
+ return;
}
gst_event_unref (event);
return;