summaryrefslogtreecommitdiff
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-07-18 09:19:30 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-07-18 09:19:30 +0100
commit0cf07e04bee144409722ef6b9305ece6401426c7 (patch)
tree860c219eac32aa0306534d437926c69da1f00ee2 /gst/mpegdemux
parent421b593048ed48c809cb83508bc88ada9ea9c541 (diff)
downloadgstreamer-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.c2
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);