diff options
author | rcombs <rcombs@rcombs.me> | 2022-04-16 10:46:49 +0300 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2022-06-02 03:38:50 +0300 |
commit | dfbc921f9f6b940c7de48f7795f20fcd553e792a (patch) | |
tree | 4430efb8105f7a012666333159c28fa405cd681e /libavcodec/videotoolbox.c | |
parent | e9107d16f3ea1eff48f0bfdcaff49f7c32a20919 (diff) |
lavc/videotoolboxdec: warn on nonzero status in the callback
Signed-off-by: rcombs <rcombs@rcombs.me>
Diffstat (limited to 'libavcodec/videotoolbox.c')
-rw-r--r-- | libavcodec/videotoolbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |