mpegdemux: send events on pads that are not linked
authorMatej Knopp <matej.knopp@gmail.com>
Mon, 2 Sep 2013 20:54:32 +0000 (22:54 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 2 Sep 2013 22:24:08 +0000 (23:24 +0100)
Someone might be waiting for certain events with a probe.

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

gst/mpegdemux/gstmpegdemux.c

index 2b57d70..ec7f475 100644 (file)
@@ -707,7 +707,7 @@ gst_flups_demux_send_event (GstFluPSDemux * demux, GstEvent * event)
   for (i = 0; i < count; i++) {
     GstFluPSStream *stream = demux->streams_found[i];
 
-    if (stream && !stream->notlinked) {
+    if (stream) {
       (void) gst_event_ref (event);
 
       if (!gst_pad_push_event (stream->pad, event)) {