summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/speed/gstspeed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index 38b83a57..d943b608 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -255,6 +255,10 @@ speed_loop (GstElement *element)
speed = filter->speed;
in = gst_pad_pull(filter->sinkpad);
+ if (GST_IS_EVENT (in)) {
+ gst_pad_event_default (filter->sinkpad, GST_EVENT (in));
+ return;
+ }
while (GST_IS_EVENT (in)) {
gst_pad_event_default (filter->srcpad, GST_EVENT (in));