[vlc-commits] qsv: the wait time when busy is the minimum we can wait
Steve Lhomme
git at videolan.org
Wed Apr 4 18:28:17 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Sep 18 10:10:18 2017 +0200| [946945fdf7a8b6aaefe138b42aae03e354581cb0] | committer: Steve Lhomme
qsv: the wait time when busy is the minimum we can wait
Although for 60fps 10ms is a lot. For 120fps that's too long.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=946945fdf7a8b6aaefe138b42aae03e354581cb0
---
modules/codec/qsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index af62c1dfcb..51b0360fbd 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -42,7 +42,7 @@
/* Default wait on libavcodec */
#define QSV_SYNCPOINT_WAIT (1000)
/* Encoder input synchronization busy wait loop time */
-#define QSV_BUSYWAIT_TIME (10000)
+#define QSV_BUSYWAIT_TIME VLC_HARD_MIN_SLEEP
/* The SDK doesn't have a default bitrate, so here's one. */
#define QSV_BITRATE_DEFAULT (842)
More information about the vlc-commits
mailing list