diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-02-08 16:38:09 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-02-08 16:38:09 +0100 |
commit | f731208bcddec6749f9c1af0b171ea3780266c57 (patch) | |
tree | 6e9d0c22b9973071708d2ded0c4e5bd6cc76cade /gst | |
parent | cb976a9ffaddac8a52b1d80ddd628233d7140a8d (diff) |
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Diffstat (limited to 'gst')
-rw-r--r-- | gst/asfdemux/gstasfdemux.c | 2 | ||||
-rw-r--r-- | gst/realmedia/rdtmanager.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 37738ef0..aa8e2006 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -1578,7 +1578,7 @@ gst_asf_demux_loop (GstASFDemux * demux) GST_DEBUG_OBJECT (demux, "got flow %s", gst_flow_get_name (flow)); if (flow == GST_FLOW_EOS) goto eos; - else if (flow == GST_FLOW_WRONG_STATE) { + else if (flow == GST_FLOW_FLUSHING) { GST_DEBUG_OBJECT (demux, "Not fatal"); goto pause; } else diff --git a/gst/realmedia/rdtmanager.c b/gst/realmedia/rdtmanager.c index e2b2d0f5..bb37a067 100644 --- a/gst/realmedia/rdtmanager.c +++ b/gst/realmedia/rdtmanager.c @@ -593,7 +593,7 @@ gst_rdt_manager_src_activate_mode (GstPad * pad, GstObject * parent, /* make sure all data processing stops ASAP */ JBUF_LOCK (session); /* mark ourselves as flushing */ - session->srcresult = GST_FLOW_WRONG_STATE; + session->srcresult = GST_FLOW_FLUSHING; GST_DEBUG_OBJECT (rdtmanager, "Disabling pop on queue"); /* this unblocks any waiting pops on the src pad task */ JBUF_SIGNAL (session); |