Commit d21b690e authored by Maksym Veremeyenko's avatar Maksym Veremeyenko Committed by Michael Niedermayer

ffmpeg: preserve profile for audio stream copy

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6679fcd4
......@@ -2970,6 +2970,7 @@ static int transcode_init(void)
enc_ctx->audio_service_type = dec_ctx->audio_service_type;
enc_ctx->block_align = dec_ctx->block_align;
enc_ctx->initial_padding = dec_ctx->delay;
enc_ctx->profile = dec_ctx->profile;
#if FF_API_AUDIOENC_DELAY
enc_ctx->delay = dec_ctx->delay;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment