Skip to content

msdkdec: avoid infinite loop

Haihao Xiang requested to merge haihao/gst-plugins-bad:msdk-fix-issue909 into master

It is possible MFXVideoDECODE_DecodeFrameAsync returns MFX_ERR_INCOMPATIBLE_VIDEO_PARAM and this error can't be recovered by retrying MFXVideoDECODE_DecodeFrameAsync in some cases, so we need to limit the number of retries to avoid infinite loop.

This fixes #909 (closed)

Merge request reports