Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: pass reference counted packets on codec copy when possible

2018-03-23 Thread James Almer
On 3/21/2018 8:08 PM, Michael Niedermayer wrote: > On Wed, Mar 21, 2018 at 12:03:32PM -0300, James Almer wrote: >> Should prevent unnecessary copy of data in cases where new references >> to the packet are created within the muxer or a bitstream filter. >> >> Signed-off-by: James Almer

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: pass reference counted packets on codec copy when possible

2018-03-21 Thread Michael Niedermayer
On Wed, Mar 21, 2018 at 12:03:32PM -0300, James Almer wrote: > Should prevent unnecessary copy of data in cases where new references > to the packet are created within the muxer or a bitstream filter. > > Signed-off-by: James Almer > --- > fftools/ffmpeg.c | 5 + > 1 file

[FFmpeg-devel] [PATCH 2/2] ffmpeg: pass reference counted packets on codec copy when possible

2018-03-21 Thread James Almer
Should prevent unnecessary copy of data in cases where new references to the packet are created within the muxer or a bitstream filter. Signed-off-by: James Almer --- fftools/ffmpeg.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c