[FFmpeg-cvslog] lavc/videotoolboxdec: warn on nonzero status in the callback

rcombs git at videolan.org
Thu Jun 2 04:14:35 EEST 2022


ffmpeg | branch: master | rcombs <rcombs at rcombs.me> | Sat Apr 16 02:46:49 2022 -0500| [dfbc921f9f6b940c7de48f7795f20fcd553e792a] | committer: rcombs

lavc/videotoolboxdec: warn on nonzero status in the callback

Signed-off-by: rcombs <rcombs at rcombs.me>

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

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

diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index 9083f6ff29..7c4c4c6e1b 100644
--- a/libavcodec/videotoolbox.c
+++ b/libavcodec/videotoolbox.c
@@ -691,7 +691,7 @@ static void videotoolbox_decoder_callback(void *opaque,
     }
 
     if (!image_buffer) {
-        av_log(avctx, AV_LOG_DEBUG, "vt decoder cb: output image buffer is null\n");
+        av_log(avctx, status ? AV_LOG_WARNING : AV_LOG_DEBUG, "vt decoder cb: output image buffer is null: %i\n", status);
         return;
     }
 



More information about the ffmpeg-cvslog mailing list