mpegdemux: send events on pads that are not linked

Someone might be waiting for certain events with a probe.

https://bugzilla.gnome.org/show_bug.cgi?id=707317
This commit is contained in:
Matej Knopp 2013-09-02 22:54:32 +02:00 committed by Tim-Philipp Müller
parent ef7a8c2ca8
commit e43d1959a8

View 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)) {