vlc | branch: master | Steve Lhomme <rob...@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. */

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to