Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-07-22 23:30:14 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-23 04:52:38 +0300
commit0a088dea3d3335dee885c6486424337649ca2dba (patch)
treeddb07b79ee7cc21c787b0c7e53fd46174060e2ce /ffmpeg.c
parentdb8e8c97311ab2fe65cd54acee8731f8b126302b (diff)
ffmpeg.c: copy video profile when using stream_copy
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index b29be1ebd5..1367920b50 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,