Browse Source

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

Signed-off-by: Rick Kern <kernrj@gmail.com>
tags/n4.3
Rick Kern 6 years ago
parent
commit
1db6e47e85
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/videotoolboxenc.c

+ 1
- 1
libavcodec/videotoolboxenc.c View File

@@ -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);
}
}
}


Loading…
Cancel
Save