[vlc-devel] [PATCH] Added textStyleInit. Cleaned modules

basos g noxelia at gmail.com
Thu Jan 8 19:33:16 CET 2009


Added a method to initialize or copy text style struct
taking care for memmory management. Please mind that on
deletion you have to free the p_style->psz_fontname
before p_style itself.. The vout_ShowText* functions
will take a p_style and copy it internally so you have
to free in the same function. Other modules where p_style
was malloced there are now fixed to copy before calling
the sout* functions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Added-textStyleInit.-Cleaned-modules.patch
Type: text/x-diff
Size: 16880 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090108/896f09f0/attachment.patch>


More information about the vlc-devel mailing list