summaryrefslogtreecommitdiff
path: root/sys/dshowdecwrapper/gstdshowaudiodec.cpp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 16:37:13 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-08 16:37:13 +0100
commitde1f89bf07b2ad3244b1ece3c4c276046f7e8a09 (patch)
tree0f89847a834d364fcb0085f01685e4cf1bd9d526 /sys/dshowdecwrapper/gstdshowaudiodec.cpp
parent3de090c1f09b4576156d938e7b4249de1d371d1e (diff)
downloadgstreamer-plugins-bad-de1f89bf07b2ad3244b1ece3c4c276046f7e8a09.tar.gz
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Diffstat (limited to 'sys/dshowdecwrapper/gstdshowaudiodec.cpp')
-rw-r--r--sys/dshowdecwrapper/gstdshowaudiodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp
index f10ac8cdc..884b8050d 100644
--- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp
+++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp
@@ -579,7 +579,7 @@ gst_dshowaudiodec_chain (GstPad * pad, GstBuffer * buffer)
if (!adec->setup) {
/* we are not set up */
GST_WARNING_OBJECT (adec, "Decoder not set up, failing");
- adec->last_ret = GST_FLOW_WRONG_STATE;
+ adec->last_ret = GST_FLOW_FLUSHING;
goto beach;
}