vlc | branch: master | Steve Lhomme <rob...@videolabs.io> | Fri Oct 20 15:53:55 
2017 +0200| [ef2a76492f5facc579cfa19bd34b5a512bfc3ab0] | committer: Steve Lhomme

qsv: log the reason for looping

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

 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 04bcf73102..5d49809cbc 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -790,7 +790,7 @@ static void qsv_queue_encode_picture(encoder_t *enc, 
async_task_t *task,
         if (sts != MFX_WRN_DEVICE_BUSY && sts != MFX_WRN_IN_EXECUTION)
             break;
         if (sys->busy_warn_counter++ % 16 == 0)
-            msg_Dbg(enc, "Device is busy, let's wait and retry");
+            msg_Dbg(enc, "Device is busy, let's wait and retry %d", sts);
         if (sts == MFX_WRN_DEVICE_BUSY)
             msleep(QSV_BUSYWAIT_TIME);
     }

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

Reply via email to