[FFmpeg-cvslog] libavcodec/ qsvdec.c delay in 1 microsecond replaced to more appropriate 500 microseconds

Ivan Uskov git at videolan.org
Tue Jul 28 21:51:22 CEST 2015


ffmpeg | branch: master | Ivan Uskov <ivan.uskov at nablet.com> | Fri Jul 24 07:45:38 2015 -0400| [9f543e01afe38996f409b4bf85ef738cda118006] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f543e01afe38996f409b4bf85ef738cda118006
---

 libavcodec/qsvdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index d1261ad..8fa44b5 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) {



More information about the ffmpeg-cvslog mailing list