[vlc-devel] [PATCH] Fix-for-TS-Muxer-memory-leak (Part II)

Rémi Denis-Courmont remi at remlab.net
Fri Dec 24 17:08:28 CET 2010


Guys... It's been over a year with a patch for the known TS muxer infinite 
buffering. This a bit long time to wait for the "new" mux...

On Monday 23 November 2009, Robert Krakora wrote:
> Forgot the patch...
> 
> On Sun, Nov 22, 2009 at 7:23 PM, Robert Krakora <
> 
> rob.krakora at messagenetsystems.com> wrote:
> > On Sun, Nov 15, 2009 at 5:02 AM, Jean-Baptiste Kempf 
<jb at videolan.org>wrote:
> >> On Sat, Nov 14, 2009 at 05:16:56PM -0500, Robert Krakora wrote :
> >> > I applied my own patch to fix this for 0.9.9a.  It appears to work.
> >> > However, it does need some more work because it makes a couple of
> >> > assumptions in it's implementation.  Do you want the diff against
> >> 
> >> 0,9,9a?
> >> 
> >> > It can be migrated to the 1.0.x.
> >> 
> >> Well, the patch ('diff -ruN' or 'git diff') would be welcome against
> >> HEAD (1.1) or 1.0, if you cannot do it against 1.1.
> >> 
> >> Best Regards,
> >> 
> >> --
> >> Jean-Baptiste Kempf
> >> http://www.jbkempf.com/
> > 
> > Jean-Baptiste:
> > 
> > Here is the transport mux patch against the 1.0.3 release.  It works, but
> > I believe that I have made assumptions that may or may not be correct. 
> > I experienced the leak when I was capturing and encoding video from a
> > USB webcam and audio from a analog microphone.  When the webcam was
> > present, but the microphone was not the leak occurred, when both the
> > webcam and microphone were present then there was no leak.  I came up
> > with this fix back in September and I cannot quite remember the details
> > of it's implementation.  If I have made an incorrect assumption of if
> > there is an error, please let me know.  I will not be offended.  This
> > fix has worked for me on over 100 different machines running CentOS 5.3
> > for almost three months now without incident.
> > 
> > 
> > Best Regards,
> > 
> > --
> > Rob Krakora
> > Senior Software Engineer
> > MessageNet Systems
> > 101 East Carmel Dr. Suite 105
> > Carmel, IN 46032
> > (317)566-1677 Ext. 206
> > (317)663-0808 Fax
-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list