Browse Source

ffmpeg.c: copy video profile when using stream_copy

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Mark Reid Michael Niedermayer 9 years ago
parent
commit
0a088dea3d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffmpeg.c

+ 1
- 0
ffmpeg.c View File

@@ -3019,6 +3019,7 @@ static int transcode_init(void)
enc_ctx->width = dec_ctx->width;
enc_ctx->height = dec_ctx->height;
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
sar =
av_mul_q(ost->frame_aspect_ratio,


Loading…
Cancel
Save