[vlc-commits] qsv: use the same timeout value on SyncOperation as ffmpeg

Steve Lhomme git at videolan.org
Wed Apr 4 18:28:15 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Sep 15 16:47:38 2017 +0200| [4d16481dff021071dc59e426a216fa31069c4684] | committer: Steve Lhomme

qsv: use the same timeout value on SyncOperation as ffmpeg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d16481dff021071dc59e426a216fa31069c4684
---

 modules/codec/qsv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 898907a6b0..6bda10d572 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -40,7 +40,8 @@
 #define QSV_HAVE_CO2 (MFX_VERSION_MAJOR > 1 || (MFX_VERSION_MAJOR == 1 && MFX_VERSION_MINOR >= 6))
 
 /* Default wait on Intel Media SDK SyncOperation. Almost useless when async-depth >= 2 */
-#define QSV_SYNCPOINT_WAIT  (420)
+/* Default wait on libavcodec */
+#define QSV_SYNCPOINT_WAIT  (1000)
 /* Encoder input synchronization busy wait loop time */
 #define QSV_BUSYWAIT_TIME   (10000)
 /* The SDK doesn't have a default bitrate, so here's one. */



More information about the vlc-commits mailing list