ffmpeg | branch: master | Luca Barbato <lu_z...@gentoo.org> | Sat Oct 29 
17:00:20 2016 +0200| [801ac7156d3efb8e088fb6024f568eb36a293887] | committer: 
Luca Barbato

qsv: Be informative when reporting that no data has been consumed

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=801ac7156d3efb8e088fb6024f568eb36a293887
---

 libavcodec/qsvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index e19eba5..81c63b1 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -305,7 +305,7 @@ static int qsv_decode(AVCodecContext *avctx, QSVContext *q,
     /* make sure we do not enter an infinite loop if the SDK
      * did not consume any data and did not return anything */
     if (!*sync && !bs.DataOffset) {
-        av_log(avctx, AV_LOG_WARNING, "A decode call did not consume any 
data\n");
+        ff_qsv_print_warning(avctx, ret, "A decode call did not consume any 
data");
         bs.DataOffset = avpkt->size;
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to