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:
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
Block a user