aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Uskov <ivan.uskov@nablet.com>2015-07-24 07:45:38 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-28 20:55:17 +0200
commit9f543e01afe38996f409b4bf85ef738cda118006 (patch)
treec1a12c30aaefbf7be6fa08e046daaa2340852347
parent947c2aa4567782be64411a953a5b294976463e19 (diff)
downloadffmpeg-9f543e01afe38996f409b4bf85ef738cda118006.tar.gz
libavcodec/qsvdec.c delay in 1 microsecond replaced to more appropriate 500 microseconds
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/qsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index d1261add2c..8fa44b5ca1 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -316,7 +316,7 @@ int ff_qsv_decode(AVCodecContext *avctx, QSVContext *q,
insurf, &outsurf, &sync);
if (ret != MFX_WRN_DEVICE_BUSY)
break;
- av_usleep(1);
+ av_usleep(500);
} while (1);
if (MFX_WRN_VIDEO_PARAM_CHANGED==ret) {