Commit b9e32291 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

avdemux: only activate in pull mode if upstream is seekable

parent a44c3aee
......@@ -1702,7 +1702,8 @@ gst_ffmpegdemux_sink_activate (GstPad * sinkpad, GstObject * parent)
goto activate_push;
pull_mode = gst_query_has_scheduling_mode (query, GST_PAD_MODE_PULL);
pull_mode = gst_query_has_scheduling_mode_with_flags (query,
gst_query_unref (query);
if (!pull_mode)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment