From 3c6a9d3e37417a8c9ba83d90241d44efacb2123e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 18 Jul 2013 17:14:29 +0200 Subject: [PATCH] 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 --- gst/realmedia/rmdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index 011c11fe6a..539d8d326b 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: