Commit 9f543e01 authored by Ivan Uskov's avatar Ivan Uskov Committed by Michael Niedermayer

libavcodec/qsvdec.c delay in 1 microsecond replaced to more appropriate 500 microseconds

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 947c2aa4
...@@ -316,7 +316,7 @@ int ff_qsv_decode(AVCodecContext *avctx, QSVContext *q, ...@@ -316,7 +316,7 @@ int ff_qsv_decode(AVCodecContext *avctx, QSVContext *q,
insurf, &outsurf, &sync); insurf, &outsurf, &sync);
if (ret != MFX_WRN_DEVICE_BUSY) if (ret != MFX_WRN_DEVICE_BUSY)
break; break;
av_usleep(1); av_usleep(500);
} while (1); } while (1);
if (MFX_WRN_VIDEO_PARAM_CHANGED==ret) { if (MFX_WRN_VIDEO_PARAM_CHANGED==ret) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment