summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-08-02 11:32:37 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-08-02 11:32:37 +0000
commitc1be464cad9811018b371de621424e992ec7aa88 (patch)
treeec55fa061315b6e0901124f29c43f49118c92854 /ext
parent0327f33923e0861e59dbaba696f86d87149eb885 (diff)
downloadgst-plugins-bad-c1be464cad9811018b371de621424e992ec7aa88.tar.gz
gst-plugins-bad-c1be464cad9811018b371de621424e992ec7aa88.tar.bz2
gst-plugins-bad-c1be464cad9811018b371de621424e992ec7aa88.zip
Don't unref event after calling the default handler
Original commit message from CVS: Don't unref event after calling the default handler
Diffstat (limited to 'ext')
-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;