[FFmpeg-devel] [PATCH] vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Jun 5 18:17:04 CEST 2011


On date Sunday 2011-06-05 00:50:12 +0200, Michael Niedermayer encoded:
> On Fri, Jun 03, 2011 at 07:19:50PM +0200, Stefano Sabatini wrote:
[...]
> >  ffmpeg.c |   22 +++++++---------------
> >  1 file changed, 7 insertions(+), 15 deletions(-)
> > 7c2b7d6adc4e181b775dfaf02efedc39a1d374bf  0001-ffmpeg-fix-massive-leak-when-seeking.patch
> > From 36e7f6a33d96a437b9dc39e297b25e721c3d6c1d Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Fri, 3 Jun 2011 19:03:44 +0200
> > Subject: [PATCH] ffmpeg: fix massive leak when seeking
> > 
> > Avoid to add frames to the vsrc_buffer in case ist->pts < start_time,
> > as these frames are unused (and never released). In particular this
> > condition is verified with commands of the kind:
> > ffmpeg -i INPUT -ss TIME OUTPUT
> > 
> > Also simplify.
> 
> LGTM if tested

Applied. In attachment the subject patch, which is imo still useful.
-- 
FFmpeg = Frenzy and Furious Mysterious Portentous Earthshaking Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vsrc_buffer-add-flags-param-to-av_vsrc_buffer_add_vi.patch
Type: text/x-diff
Size: 5544 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110605/f4e26c41/attachment.bin>


More information about the ffmpeg-devel mailing list