summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMaksym Veremeyenko <verem@m1.tv>2015-11-18 23:44:08 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-20 18:09:47 +0100
commitd21b690e559bc663f2dbc241356c38449395c286 (patch)
tree195311ad3a2e06a0f12abf6c8805c739e1c99539 /ffmpeg.c
parent6679fcd4198d5050de2d43468dd80d0a2ac90d81 (diff)
ffmpeg: preserve profile for audio 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 c4e9280f86..a976f61a44 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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