[vlc-commits] Improved the order of options in freetype.
Laurent Aimar
git at videolan.org
Sat Jun 25 20:23:20 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jun 19 02:08:16 2011 +0200| [be03564a2edcd4ab4de3a86c0f2aa64bc1c60d39] | committer: Laurent Aimar
Improved the order of options in freetype.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be03564a2edcd4ab4de3a86c0f2aa64bc1c60d39
---
modules/misc/text_renderer/freetype.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/misc/text_renderer/freetype.c b/modules/misc/text_renderer/freetype.c
index 886a56e..c431748 100644
--- a/modules/misc/text_renderer/freetype.c
+++ b/modules/misc/text_renderer/freetype.c
@@ -168,6 +168,11 @@ vlc_module_begin ()
FONTSIZE_LONGTEXT, true )
change_safe()
+ add_integer( "freetype-rel-fontsize", 16, FONTSIZER_TEXT,
+ FONTSIZER_LONGTEXT, false )
+ change_integer_list( pi_sizes, ppsz_sizes_text )
+ change_safe()
+
/* opacity valid on 0..255, with default 255 = fully opaque */
add_integer_with_range( "freetype-opacity", 255, 0, 255,
OPACITY_TEXT, OPACITY_LONGTEXT, false )
@@ -199,11 +204,6 @@ vlc_module_begin ()
change_integer_list( pi_outline_thickness, ppsz_outline_thickness )
change_safe()
- add_integer( "freetype-rel-fontsize", 16, FONTSIZER_TEXT,
- FONTSIZER_LONGTEXT, false )
- change_integer_list( pi_sizes, ppsz_sizes_text )
- change_safe()
-
add_obsolete_integer( "freetype-effect" );
add_bool( "freetype-yuvp", false, YUVP_TEXT,
More information about the vlc-commits
mailing list