diff --git a/sys/dshowdecwrapper/gstdshowvideodec.cpp b/sys/dshowdecwrapper/gstdshowvideodec.cpp index c73aa9c52b..8a2e614231 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.cpp +++ b/sys/dshowdecwrapper/gstdshowvideodec.cpp @@ -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; }