Re: [FFmpeg-devel] [PATCH 1/4] ffmpeg: re-copy codec parameters after encoding

2016-09-28 Thread Michael Niedermayer
On Wed, Sep 28, 2016 at 11:29:00AM -0700, Jon Toohill wrote: > This preserves changes to fields of AVCodecParameters that > get updated during encoding, such as trailing_padding > (which may not be known until encoding is complete). > --- > ffmpeg.c | 15 +++ > 1 file changed, 15 inser

[FFmpeg-devel] [PATCH 1/4] ffmpeg: re-copy codec parameters after encoding

2016-09-28 Thread Jon Toohill
This preserves changes to fields of AVCodecParameters that get updated during encoding, such as trailing_padding (which may not be known until encoding is complete). --- ffmpeg.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index d0f247e..0cdc762 100644