Skip to content
Snippets Groups Projects
Commit 831b7456 authored by Haihao Xiang's avatar Haihao Xiang
Browse files

msdkdec: avoid infinite loop

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 gstreamer/gst-plugins-bad#909
parent ecb7049d
No related branches found
No related tags found
No related merge requests found
Pipeline #22955 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment