]> git.sesse.net Git - vlc/commit
Added and used text_style_* methods.
authorbasOS G <noxelia 4t gmail , com>
Mon, 11 May 2009 21:35:40 +0000 (23:35 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 11 May 2009 21:41:33 +0000 (23:41 +0200)
commit681ac9f14efd4a8611e7868004f59d5bf4f84d71
tree76e7e7c9dcb5317bc1f4ec65f0a72c53c94107f5
parent768bd8a4d8b88a8f44934b172541b14ffd546111
Added and used text_style_* methods.

It had the following functions:
- text_style_New  -- allocates default text style
- text_style_Dup  -- allocates and copies text style
- text_style_Copy -- copies text style
- text_style_Delete -- deallocates text style

NOTE that the vout_ShowText* functions will take a p_style and copy
it internally so you have to free in the caller function.
 Other modules where p_style was malloced there are now fixed to
copy before calling the vout* functions.

Original patch by basOS G with a few modifications by fenrir.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 files changed:
include/vlc_osd.h
modules/codec/subtitles/subsass.c
modules/codec/subtitles/subsusf.c
modules/gui/fbosd.c
modules/video_filter/dynamicoverlay/dynamicoverlay.c
modules/video_filter/dynamicoverlay/dynamicoverlay.h
modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c
modules/video_filter/marq.c
modules/video_filter/rss.c
src/libvlccore.sym
src/osd/osd_text.c
src/video_output/video_text.c
src/video_output/vout_subpictures.c