mpegpsdemux: also activate in push mode if the scheduling query failed

In case pads are unlinked somewhere.
This commit is contained in:
Tim-Philipp Müller 2012-07-18 09:19:30 +01:00
parent 421b593048
commit 0cf07e04be

View file

@ -2886,6 +2886,8 @@ gst_flups_demux_sink_activate (GstPad * sinkpad, GstObject * parent)
} else {
res = gst_pad_activate_mode (sinkpad, GST_PAD_MODE_PUSH, TRUE);
}
} else {
res = gst_pad_activate_mode (sinkpad, GST_PAD_MODE_PUSH, TRUE);
}
gst_query_unref (query);