diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-06-07 13:49:49 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-06-08 00:48:21 +0200 |
commit | 1d7a6eaee66ff7481a0c9a4f4e539227a9d55839 (patch) | |
tree | dabc3a375a436eccae34b18e94a2d41891f7ed10 /libavcodec/proresenc_kostya.c | |
parent | eff565dc19c9c54763cf6f882d14b8ee1a94b190 (diff) |
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.
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r-- | libavcodec/proresenc_kostya.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 77ab524046..52fe5639b1 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -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", |