diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-07-18 09:19:30 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-07-18 09:19:30 +0100 |
commit | 0cf07e04bee144409722ef6b9305ece6401426c7 (patch) | |
tree | 860c219eac32aa0306534d437926c69da1f00ee2 /gst/mpegdemux | |
parent | 421b593048ed48c809cb83508bc88ada9ea9c541 (diff) | |
download | gstreamer-plugins-bad-0cf07e04bee144409722ef6b9305ece6401426c7.tar.gz |
mpegpsdemux: also activate in push mode if the scheduling query failed
In case pads are unlinked somewhere.
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r-- | gst/mpegdemux/gstmpegdemux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index a433d6cc7..ee78c00a0 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -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); |