[FFmpeg-cvslog] ffmpeg: copy trailing_padding when using -acodec copy

Jon Toohill git at videolan.org
Wed Sep 14 06:17:52 EEST 2016


ffmpeg | branch: master | Jon Toohill <jtoohill at google.com> | Mon Aug 15 13:13:07 2016 -0700| [7f386bbe2a7976e39475360800c54c7484ac2719] | committer: James Almer

ffmpeg: copy trailing_padding when using -acodec copy

Signed-off-by: James Almer <jamrial at gmail.com>

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index d858407..4225978 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3000,6 +3000,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->trailing_padding   = dec_ctx->trailing_padding;
                 enc_ctx->profile            = dec_ctx->profile;
 #if FF_API_AUDIOENC_DELAY
                 enc_ctx->delay              = dec_ctx->delay;



More information about the ffmpeg-cvslog mailing list