[vlc-commits] qsv: log the reason for looping

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


vlc | branch: master | Steve Lhomme <robux4 at 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);
     }



More information about the vlc-commits mailing list