Commit 0a088dea authored by Mark Reid's avatar Mark Reid Committed by Michael Niedermayer

ffmpeg.c: copy video profile when using stream_copy

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent db8e8c97
...@@ -3019,6 +3019,7 @@ static int transcode_init(void) ...@@ -3019,6 +3019,7 @@ static int transcode_init(void)
enc_ctx->width = dec_ctx->width; enc_ctx->width = dec_ctx->width;
enc_ctx->height = dec_ctx->height; enc_ctx->height = dec_ctx->height;
enc_ctx->has_b_frames = dec_ctx->has_b_frames; enc_ctx->has_b_frames = dec_ctx->has_b_frames;
enc_ctx->profile = dec_ctx->profile;
if (ost->frame_aspect_ratio.num) { // overridden by the -aspect cli option if (ost->frame_aspect_ratio.num) { // overridden by the -aspect cli option
sar = sar =
av_mul_q(ost->frame_aspect_ratio, av_mul_q(ost->frame_aspect_ratio,
......
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