Commit 32e39d70 authored by Francois Cartegnie's avatar Francois Cartegnie

video_filter: marq/rss: set default size to 0

use or don't use filter. -1 has no better
meaning than 0 and 0 is for new text-style
parent c6b1e382
...@@ -108,7 +108,7 @@ struct filter_sys_t ...@@ -108,7 +108,7 @@ struct filter_sys_t
#define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \ #define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \
"overlayed text. 0 = transparent, 255 = totally opaque. " ) "overlayed text. 0 = transparent, 255 = totally opaque. " )
#define SIZE_TEXT N_("Font size, pixels") #define SIZE_TEXT N_("Font size, pixels")
#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \ #define SIZE_LONGTEXT N_("Font size, in pixels. Default is 0 (use default " \
"font size)." ) "font size)." )
#define COLOR_TEXT N_("Color") #define COLOR_TEXT N_("Color")
...@@ -160,9 +160,9 @@ vlc_module_begin () ...@@ -160,9 +160,9 @@ vlc_module_begin ()
add_rgb( CFG_PREFIX "color", 0xFFFFFF, COLOR_TEXT, COLOR_LONGTEXT, add_rgb( CFG_PREFIX "color", 0xFFFFFF, COLOR_TEXT, COLOR_LONGTEXT,
false ) false )
change_integer_list( pi_color_values, ppsz_color_descriptions ) change_integer_list( pi_color_values, ppsz_color_descriptions )
add_integer( CFG_PREFIX "size", -1, SIZE_TEXT, SIZE_LONGTEXT, add_integer( CFG_PREFIX "size", 0, SIZE_TEXT, SIZE_LONGTEXT,
false ) false )
change_integer_range( -1, 4096) change_integer_range( 0, 4096)
set_section( N_("Misc"), NULL ) set_section( N_("Misc"), NULL )
add_integer( CFG_PREFIX "timeout", 0, TIMEOUT_TEXT, TIMEOUT_LONGTEXT, add_integer( CFG_PREFIX "timeout", 0, TIMEOUT_TEXT, TIMEOUT_LONGTEXT,
......
...@@ -148,7 +148,7 @@ struct filter_sys_t ...@@ -148,7 +148,7 @@ struct filter_sys_t
"overlay text. 0 = transparent, 255 = totally opaque." ) "overlay text. 0 = transparent, 255 = totally opaque." )
#define SIZE_TEXT N_("Font size, pixels") #define SIZE_TEXT N_("Font size, pixels")
#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \ #define SIZE_LONGTEXT N_("Font size, in pixels. Default is 0 (use default " \
"font size)." ) "font size)." )
#define COLOR_TEXT N_("Color") #define COLOR_TEXT N_("Color")
...@@ -210,8 +210,8 @@ vlc_module_begin () ...@@ -210,8 +210,8 @@ vlc_module_begin ()
add_rgb( CFG_PREFIX "color", 0xFFFFFF, COLOR_TEXT, COLOR_LONGTEXT, add_rgb( CFG_PREFIX "color", 0xFFFFFF, COLOR_TEXT, COLOR_LONGTEXT,
false ) false )
change_integer_list( pi_color_values, ppsz_color_descriptions ) change_integer_list( pi_color_values, ppsz_color_descriptions )
add_integer( CFG_PREFIX "size", -1, SIZE_TEXT, SIZE_LONGTEXT, false ) add_integer( CFG_PREFIX "size", 0, SIZE_TEXT, SIZE_LONGTEXT, false )
change_integer_range( -1, 4096) change_integer_range( 0, 4096)
set_section( N_("Misc"), NULL ) set_section( N_("Misc"), NULL )
add_integer( CFG_PREFIX "speed", 100000, SPEED_TEXT, SPEED_LONGTEXT, add_integer( CFG_PREFIX "speed", 100000, SPEED_TEXT, SPEED_LONGTEXT,
......
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