From c1be464cad9811018b371de621424e992ec7aa88 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 2 Aug 2002 11:32:37 +0000 Subject: Don't unref event after calling the default handler Original commit message from CVS: Don't unref event after calling the default handler --- ext/sdl/sdlvideosink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/sdl/sdlvideosink.c') 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; -- cgit v1.2.1