summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorRick Kern <rick@8birdsvideo.com>2019-09-16 09:02:02 -0400
committerRick Kern <rick@8birdsvideo.com>2019-09-16 09:02:59 -0400
commit1db6e47e8599345d4d3c821f1284e9b2c9747fc0 (patch)
tree415d8231afad456b5dc59e75596f101dc7b5f68b /libavcodec
parent57951f3019061917bbfccbc67360f561ad0bb466 (diff)
avcodec/videotoolboxenc: warn user when output will use a different profile/level than requested.
Signed-off-by: Rick Kern <kernrj@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/videotoolboxenc.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}