libavcodec/qsvdec.c delay in 1 microsecond replaced to more appropriate 500 microseconds
authorIvan Uskov <ivan.uskov@nablet.com>
Fri, 24 Jul 2015 11:45:38 +0000 (07:45 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 28 Jul 2015 18:55:17 +0000 (20:55 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/qsvdec.c

index d1261add2ca5e1e58ea0d93a3824cd4126706f5b..8fa44b5ca1d6b3fe047c4164beff6855f7929199 100644 (file)
@@ -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) {