1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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:
Paul B Mahol 2023-06-07 13:49:49 +02:00
parent eff565dc19
commit 1d7a6eaee6

View File

@ -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",