[vlc-devel] commit: Added and used text_style_* methods. (basOS G )
git version control
git at videolan.org
Mon May 11 23:53:06 CEST 2009
vlc | branch: master | basOS G <noxelia 4t gmail , com> | Mon May 11 23:35:40 2009 +0200| [681ac9f14efd4a8611e7868004f59d5bf4f84d71] | committer: Laurent Aimar
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 at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=681ac9f14efd4a8611e7868004f59d5bf4f84d71
---
include/vlc_osd.h | 54 +++----
modules/codec/subtitles/subsass.c | 156 ++++++++++----------
modules/codec/subtitles/subsusf.c | 135 +++++++++--------
modules/gui/fbosd.c | 9 +-
.../video_filter/dynamicoverlay/dynamicoverlay.c | 4 +-
.../video_filter/dynamicoverlay/dynamicoverlay.h | 2 +-
.../dynamicoverlay/dynamicoverlay_commands.c | 15 +-
modules/video_filter/marq.c | 7 +-
modules/video_filter/rss.c | 13 +-
src/libvlccore.sym | 4 +
src/osd/osd_text.c | 8 +-
src/video_output/video_text.c | 78 +++++++++-
src/video_output/vout_subpictures.c | 3 +-
13 files changed, 275 insertions(+), 213 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=681ac9f14efd4a8611e7868004f59d5bf4f84d71
More information about the vlc-devel
mailing list