diff options
author | Edward Hervey <edward@collabora.com> | 2013-07-18 17:14:29 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-07-18 17:15:25 +0200 |
commit | 3c6a9d3e37417a8c9ba83d90241d44efacb2123e (patch) | |
tree | 1b2afdaa7371b24221708295d00b9f48d35947e8 | |
parent | 576fe462bc51a2d2f71236cf95777be061ee2fae (diff) |
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
-rw-r--r-- | gst/realmedia/rmdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index 011c11fe..539d8d32 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -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: |