mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue