dshowdecwrapper: reset flow return state tracker after flush to avoid spurious

errors after flushing in some cases.
This commit is contained in:
Michael Smith 2010-07-07 10:33:18 -07:00
parent 191c2d38ea
commit f1ff58039a

View file

@ -925,6 +925,9 @@ gst_dshowvideodec_flush (GstDshowVideoDec * vdec)
/* flush dshow decoder and reset timestamp */
vdec->fakesrc->GetOutputPin()->Flush();
/* Reset the flow return state tracker */
vdec->last_ret = GST_FLOW_OK;
return TRUE;
}