Commit 67f568c9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FreeType: mark some options as safe

Font is not safe because it uses the file system, and is dependent on
the local system anyway. YUVP is only for encoding, so it seems
irrelevant. Other options seem fine.
(cherry picked from commit 6b42661fb7142ad6f384abba3af930c81d58bb8c)

Conflicts:

	modules/misc/freetype.c
parent 2cf367bf
......@@ -154,22 +154,28 @@ vlc_module_begin ()
add_integer( "freetype-fontsize", 0, NULL, FONTSIZE_TEXT,
FONTSIZE_LONGTEXT, true )
change_safe()
/* opacity valid on 0..255, with default 255 = fully opaque */
add_integer_with_range( "freetype-opacity", 255, 0, 255, NULL,
OPACITY_TEXT, OPACITY_LONGTEXT, true )
change_safe()
/* hook to the color values list, with default 0x00ffffff = white */
add_integer( "freetype-color", 0x00FFFFFF, NULL, COLOR_TEXT,
COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL )
change_safe()
add_integer( "freetype-rel-fontsize", 16, NULL, FONTSIZER_TEXT,
FONTSIZER_LONGTEXT, false )
change_integer_list( pi_sizes, ppsz_sizes_text, NULL )
change_safe()
add_integer( "freetype-effect", 2, NULL, EFFECT_TEXT,
EFFECT_LONGTEXT, false )
change_integer_list( pi_effects, ppsz_effects_text, NULL )
change_safe()
add_bool( "freetype-yuvp", false, NULL, YUVP_TEXT,
YUVP_LONGTEXT, true )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment