mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dshowdecwrapper: reset flow return state tracker after flush to avoid spurious
errors after flushing in some cases.
This commit is contained in:
parent
191c2d38ea
commit
f1ff58039a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue