[FFmpeg-cvslog] avcodec/videotoolboxenc: warn user when output will use a different profile/level than requested.
Rick Kern
git at videolan.org
Mon Sep 16 16:11:55 EEST 2019
ffmpeg | branch: master | Rick Kern <rick at 8birdsvideo.com> | Mon Sep 16 09:02:02 2019 -0400| [1db6e47e8599345d4d3c821f1284e9b2c9747fc0] | committer: Rick Kern
avcodec/videotoolboxenc: warn user when output will use a different profile/level than requested.
Signed-off-by: Rick Kern <kernrj at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1db6e47e8599345d4d3c821f1284e9b2c9747fc0
---
libavcodec/videotoolboxenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 6a02d0ef16..40a7f643e0 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -1112,7 +1112,7 @@ static int vtenc_create_encoder(AVCodecContext *avctx,
kVTCompressionPropertyKey_ProfileLevel,
profile_level);
if (status) {
- av_log(avctx, AV_LOG_ERROR, "Error setting profile/level property: %d\n", status);
+ av_log(avctx, AV_LOG_ERROR, "Error setting profile/level property: %d. Output will be encoded using a supported profile/level combination.\n", status);
}
}
}
More information about the ffmpeg-cvslog
mailing list