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

Robert Krakora rob.krakora at messagenetsystems.com
Mon Nov 23 01:24:57 CET 2009


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
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091122/5b9ec85e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts.c.patch
Type: text/x-patch
Size: 18373 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091122/5b9ec85e/attachment.bin>


More information about the vlc-devel mailing list