[FFmpeg-cvslog] ffmpeg: preserve profile for audio stream copy

Maksym Veremeyenko git at videolan.org
Fri Nov 20 18:35:40 CET 2015


ffmpeg | branch: master | Maksym Veremeyenko <verem at m1.tv> | Wed Nov 18 23:44:08 2015 +0200| [d21b690e559bc663f2dbc241356c38449395c286] | committer: Michael Niedermayer

ffmpeg: preserve profile for audio stream copy

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d21b690e559bc663f2dbc241356c38449395c286
---

 ffmpeg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index c4e9280..a976f61 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



More information about the ffmpeg-cvslog mailing list