mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
eff565dc19
commit
1d7a6eaee6
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue