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:
Edward Hervey 2013-07-18 17:14:29 +02:00
parent 576fe462bc
commit 3c6a9d3e37

View file

@ -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: