From 1db6e47e8599345d4d3c821f1284e9b2c9747fc0 Mon Sep 17 00:00:00 2001 From: Rick Kern Date: Mon, 16 Sep 2019 09:02:02 -0400 Subject: [PATCH] avcodec/videotoolboxenc: warn user when output will use a different profile/level than requested. Signed-off-by: Rick Kern --- 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); } } }