You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/proresenc_kostya: set avctx->profile from ctx
Otherwise muxers may not be able to guess it. Option is still set by user, but via private codec option.
This commit is contained in:
@@ -1355,6 +1355,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
avctx->codec_tag = ctx->profile_info->tag;
|
||||
avctx->profile = ctx->profile;
|
||||
|
||||
av_log(avctx, AV_LOG_DEBUG,
|
||||
"profile %d, %d slices, interlacing: %s, %d bits per MB\n",
|
||||
|
Reference in New Issue
Block a user