streamcombiner: Proxy all sink events downstream
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 23 Jul 2013 07:14:23 +0000 (09:14 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 23 Jul 2013 07:14:23 +0000 (09:14 +0200)
Thanks to Mathieu Duponchelle for noticing this regression
introduced with the last change.

https://bugzilla.gnome.org/show_bug.cgi?id=704706

gst/encoding/gststreamcombiner.c

index e41914f..42c959d 100644 (file)
@@ -157,7 +157,7 @@ gst_stream_combiner_sink_event (GstPad * pad, GstObject * parent,
   /* FLUSH_STOP : lock, unmark as flushing, unlock, if was flushing forward */
   /* OTHER : if selected pad forward */
   if (event)
-    return gst_pad_event_default (pad, parent, event);
+    return gst_pad_push_event (stream_combiner->srcpad, event);
   return FALSE;
 }