Commit 1db6e47e authored by Rick Kern's avatar Rick Kern

avcodec/videotoolboxenc: warn user when output will use a different profile/level than requested.

Signed-off-by: 's avatarRick Kern <kernrj@gmail.com>
parent 57951f30
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment