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
1 changed files with 1 additions and 0 deletions

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