rmdemux: Mark demuxer as "running" in push-mode
Allows queries (and other code) to be answered when working in push-mode. Running would only be set to TRUE accordingly when working in pull-mode once it had read header/index. Fixes #680185
This commit is contained in:
parent
576fe462bc
commit
3c6a9d3e37
@ -782,6 +782,7 @@ gst_rmdemux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
|
||||
switch (mode) {
|
||||
case GST_PAD_MODE_PUSH:
|
||||
demux->seekable = FALSE;
|
||||
demux->running = active;
|
||||
res = TRUE;
|
||||
break;
|
||||
case GST_PAD_MODE_PULL:
|
||||
|
Loading…
x
Reference in New Issue
Block a user