Skip to content
Snippets Groups Projects
Commit d4cb0c19 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 67bb17e4
No related branches found
No related tags found
Loading
Pipeline #22539 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