[vlc-devel] Re: Patch to add multi-pass encoding support for H.264

Rémi Denis-Courmont rem at videolan.org
Thu Feb 8 22:31:29 CET 2007


Le jeudi 8 février 2007 23:24, Sašo Kiselkov a écrit :
> I'm submitting a patch which adds multi-pass encoding to VLC's H.264
> codec module. I'm not sure about the memory management in it, so it
> might need some revision. I've been seriously missing multi-pass
> encoding in VLC, as it dramatically improves quality and lowers
> bitrate consumption.
>
> Anybody interrested in including it in the mainline VLC distribution?

I think you have to free(val.psz_string); for each var_Get(). You could 
also use strdup() instead of malloc()+strcpy(), and in either case you 
probably need to free() the parameters string from the Close() 
function.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070208/e1a06eed/attachment.sig>


More information about the vlc-devel mailing list