[FFmpeg-cvslog] ffmpeg.c: copy video profile when using stream_copy
Mark Reid
git at videolan.org
Sat Jul 23 04:55:37 EEST 2016
ffmpeg | branch: master | Mark Reid <mindmark at gmail.com> | Fri Jul 22 13:30:14 2016 -0700| [0a088dea3d3335dee885c6486424337649ca2dba] | committer: Michael Niedermayer
ffmpeg.c: copy video profile when using stream_copy
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a088dea3d3335dee885c6486424337649ca2dba
---
ffmpeg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index b29be1e..1367920 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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,
More information about the ffmpeg-cvslog
mailing list