Commit c766d434 authored by Geoffroy Couprie's avatar Geoffroy Couprie

Add a bunch of help strings. Feel free to correct them, and add more

parent 3878a327
...@@ -61,7 +61,7 @@ static void Close( vlc_object_t * ); ...@@ -61,7 +61,7 @@ static void Close( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("Fake") ) set_shortname( N_("Fake") )
set_description( N_("Fake input") ) set_description( N_("Fake video input") )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
......
...@@ -72,9 +72,11 @@ static void Close( vlc_object_t * ); ...@@ -72,9 +72,11 @@ static void Close( vlc_object_t * );
#define DOMAIN_LONGTEXT N_("Domain/Workgroup that " \ #define DOMAIN_LONGTEXT N_("Domain/Workgroup that " \
"will be used for the connection.") "will be used for the connection.")
#define SMB_HELP N_("Samba (Windows network shares) input")
vlc_module_begin () vlc_module_begin ()
set_shortname( "SMB" ) set_shortname( "SMB" )
set_description( N_("SMB input") ) set_description( N_("SMB input") )
set_help(SMB_HELP)
set_capability( "access", 0 ) set_capability( "access", 0 )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
......
...@@ -75,7 +75,8 @@ struct filter_sys_t ...@@ -75,7 +75,8 @@ struct filter_sys_t
vlc_module_begin () vlc_module_begin ()
set_description( N_("Sound Delay") ) set_description( N_("Sound Delay") )
set_shortname( N_("delay") ) set_shortname( N_("Delay") )
set_help( N_("Add a delay effect to the sound") )
set_category( CAT_AUDIO ) set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_AFILTER ) set_subcategory( SUBCAT_AUDIO_AFILTER )
add_shortcut( "delay" ) add_shortcut( "delay" )
......
...@@ -72,7 +72,7 @@ struct filter_sys_t ...@@ -72,7 +72,7 @@ struct filter_sys_t
"increase the response time of the filter to a spike " \ "increase the response time of the filter to a spike " \
"but will make it less sensitive to short variations." ) "but will make it less sensitive to short variations." )
#define LEVEL_TEXT N_("Max level" ) #define LEVEL_TEXT N_("Maximal volume level" )
#define LEVEL_LONGTEXT N_("If the average power over the last N buffers " \ #define LEVEL_LONGTEXT N_("If the average power over the last N buffers " \
"is higher than this value, the volume will be normalized. " \ "is higher than this value, the volume will be normalized. " \
"This value is a positive floating point number. A value " \ "This value is a positive floating point number. A value " \
......
...@@ -123,6 +123,8 @@ static int getBallColor( vlc_object_t *p_this, char const *psz_newval ); ...@@ -123,6 +123,8 @@ static int getBallColor( vlc_object_t *p_this, char const *psz_newval );
#define GRAD_THRESH_TEXT N_("Gradient threshold") #define GRAD_THRESH_TEXT N_("Gradient threshold")
#define GRAD_THRESH_LONGTEXT N_("Set gradient threshold for edge computation.") #define GRAD_THRESH_LONGTEXT N_("Set gradient threshold for edge computation.")
#define BALL_HELP N_("Augmented reality ball game")
#define FILTER_PREFIX "ball-" #define FILTER_PREFIX "ball-"
static const char *const mode_list[] = { "red", "green", "blue", "white" }; static const char *const mode_list[] = { "red", "green", "blue", "white" };
...@@ -132,6 +134,7 @@ static const char *const mode_list_text[] = { N_("Red"), N_("Green"), ...@@ -132,6 +134,7 @@ static const char *const mode_list_text[] = { N_("Red"), N_("Green"),
vlc_module_begin () vlc_module_begin ()
set_description( N_("Ball video filter") ) set_description( N_("Ball video filter") )
set_shortname( N_( "Ball" )) set_shortname( N_( "Ball" ))
set_help(BALL_HELP)
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -94,6 +94,7 @@ static int alloc_init( filter_t *, void * ); ...@@ -94,6 +94,7 @@ static int alloc_init( filter_t *, void * );
#define PADD_LONGTEXT N_( \ #define PADD_LONGTEXT N_( \
"If enabled, video will be padded to fit in canvas after scaling. " \ "If enabled, video will be padded to fit in canvas after scaling. " \
"Otherwise, video will be cropped to fix in canvas after scaling." ) "Otherwise, video will be cropped to fix in canvas after scaling." )
#define CANVAS_HELP N_( "Automatically resize and pad a video" )
#define CFG_PREFIX "canvas-" #define CFG_PREFIX "canvas-"
...@@ -102,8 +103,9 @@ static int alloc_init( filter_t *, void * ); ...@@ -102,8 +103,9 @@ static int alloc_init( filter_t *, void * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("Canvas") ) set_shortname( N_("Canvas") )
set_description( N_("Automatically resize and pad a video") ) set_description( N_("Canvas video filter") )
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_help( CANVAS_HELP )
set_callbacks( Activate, Destroy ) set_callbacks( Activate, Destroy )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
......
...@@ -44,6 +44,8 @@ ...@@ -44,6 +44,8 @@
#define VOUTLIST_LONGTEXT N_("You can use specific video output modules " \ #define VOUTLIST_LONGTEXT N_("You can use specific video output modules " \
"for the clones. Use a comma-separated list of modules." ) "for the clones. Use a comma-separated list of modules." )
#define CLONE_HELP N_("Duplicate your video to multiple windows " \
"and/or video output modules")
#define CFG_PREFIX "clone-" #define CFG_PREFIX "clone-"
static int Open ( vlc_object_t * ); static int Open ( vlc_object_t * );
...@@ -53,6 +55,7 @@ vlc_module_begin () ...@@ -53,6 +55,7 @@ vlc_module_begin ()
set_description( N_("Clone video filter") ) set_description( N_("Clone video filter") )
set_capability( "video splitter", 0 ) set_capability( "video splitter", 0 )
set_shortname( N_("Clone" )) set_shortname( N_("Clone" ))
set_help(CLONE_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
/***************************************************************************** /*****************************************************************************
* colorthres.c: Theshold color based on similarity to reference color * colorthres.c: Threshold color based on similarity to reference color
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2009 the VideoLAN team * Copyright (C) 2000-2009 the VideoLAN team
* $Id$ * $Id$
...@@ -55,6 +55,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -55,6 +55,7 @@ static picture_t *Filter( filter_t *, picture_t * );
"grayscaled. This must be an hexadecimal (like HTML colors). The first two "\ "grayscaled. This must be an hexadecimal (like HTML colors). The first two "\
"chars are for red, then green, then blue. #000000 = black, #FF0000 = red,"\ "chars are for red, then green, then blue. #000000 = black, #FF0000 = red,"\
" #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white" ) " #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white" )
#define COLOR_HELP N_("Select one color in the video")
static const int pi_color_values[] = { static const int pi_color_values[] = {
0x00FF0000, 0x00FF00FF, 0x00FFFF00, 0x0000FF00, 0x000000FF, 0x0000FFFF }; 0x00FF0000, 0x00FF00FF, 0x00FFFF00, 0x0000FF00, 0x000000FF, 0x0000FFFF };
...@@ -66,6 +67,7 @@ static const char *const ppsz_color_descriptions[] = { ...@@ -66,6 +67,7 @@ static const char *const ppsz_color_descriptions[] = {
vlc_module_begin () vlc_module_begin ()
set_description( N_("Color threshold filter") ) set_description( N_("Color threshold filter") )
set_shortname( N_("Color threshold" )) set_shortname( N_("Color threshold" ))
set_help(COLOR_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
......
...@@ -76,6 +76,8 @@ static int FilterCallback ( vlc_object_t *, char const *, ...@@ -76,6 +76,8 @@ static int FilterCallback ( vlc_object_t *, char const *,
#define AUTOCROP_TEXT N_("Automatic cropping") #define AUTOCROP_TEXT N_("Automatic cropping")
#define AUTOCROP_LONGTEXT N_("Automatically detect black borders and crop them.") #define AUTOCROP_LONGTEXT N_("Automatically detect black borders and crop them.")
#define CROP_HELP N_("Remove borders of the video and replace them by black borders")
#ifdef BEST_AUTOCROP #ifdef BEST_AUTOCROP
#define RATIOMAX_TEXT N_("Ratio max (x 1000)") #define RATIOMAX_TEXT N_("Ratio max (x 1000)")
#define RATIOMAX_LONGTEXT N_("Maximum image ratio. The crop plugin will never automatically crop to a higher ratio (ie, to a more \"flat\" image). The value is x1000: 1333 means 4/3.") #define RATIOMAX_LONGTEXT N_("Maximum image ratio. The crop plugin will never automatically crop to a higher ratio (ie, to a more \"flat\" image). The value is x1000: 1333 means 4/3.")
...@@ -103,6 +105,7 @@ static int FilterCallback ( vlc_object_t *, char const *, ...@@ -103,6 +105,7 @@ static int FilterCallback ( vlc_object_t *, char const *,
vlc_module_begin () vlc_module_begin ()
set_description( N_("Crop video filter") ) set_description( N_("Crop video filter") )
set_shortname( N_("Crop" )) set_shortname( N_("Crop" ))
set_help(CROP_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter", 0 ) set_capability( "video filter", 0 )
......
...@@ -59,12 +59,15 @@ static int EraseCallback( vlc_object_t *, char const *, ...@@ -59,12 +59,15 @@ static int EraseCallback( vlc_object_t *, char const *,
#define POSY_TEXT N_("Y coordinate") #define POSY_TEXT N_("Y coordinate")
#define POSY_LONGTEXT N_("Y coordinate of the mask.") #define POSY_LONGTEXT N_("Y coordinate of the mask.")
#define ERASE_HELP N_("Remove zones of the video using a picture as mask")
#define CFG_PREFIX "erase-" #define CFG_PREFIX "erase-"
vlc_module_begin () vlc_module_begin ()
set_description( N_("Erase video filter") ) set_description( N_("Erase video filter") )
set_shortname( N_( "Erase" )) set_shortname( N_( "Erase" ))
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_help(ERASE_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -49,11 +49,14 @@ static void Destroy ( vlc_object_t * ); ...@@ -49,11 +49,14 @@ static void Destroy ( vlc_object_t * );
"Gaussian's standard deviation. The bluring will take " \ "Gaussian's standard deviation. The bluring will take " \
"into account pixels up to 3*sigma away in any direction.") "into account pixels up to 3*sigma away in any direction.")
#define GAUSSIAN_HELP N_("Add a blurring effect")
#define FILTER_PREFIX "gaussianblur-" #define FILTER_PREFIX "gaussianblur-"
vlc_module_begin () vlc_module_begin ()
set_description( N_("Gaussian blur video filter") ) set_description( N_("Gaussian blur video filter") )
set_shortname( N_( "Gaussian Blur" )) set_shortname( N_( "Gaussian Blur" ))
set_help(GAUSSIAN_HELP)
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -70,6 +70,8 @@ static void FilterHough ( filter_t *, picture_t *, picture_t * ); ...@@ -70,6 +70,8 @@ static void FilterHough ( filter_t *, picture_t *, picture_t * );
#define CARTOON_LONGTEXT N_("Apply cartoon effect. It is only used by " \ #define CARTOON_LONGTEXT N_("Apply cartoon effect. It is only used by " \
"\"gradient\" and \"edge\".") "\"gradient\" and \"edge\".")
#define GRADIENT_HELP N_("Apply color gradient or edge detection effects")
static const char *const mode_list[] = { "gradient", "edge", "hough" }; static const char *const mode_list[] = { "gradient", "edge", "hough" };
static const char *const mode_list_text[] = { N_("Gradient"), N_("Edge"), N_("Hough") }; static const char *const mode_list_text[] = { N_("Gradient"), N_("Edge"), N_("Hough") };
...@@ -78,6 +80,7 @@ static const char *const mode_list_text[] = { N_("Gradient"), N_("Edge"), N_("Ho ...@@ -78,6 +80,7 @@ static const char *const mode_list_text[] = { N_("Gradient"), N_("Edge"), N_("Ho
vlc_module_begin () vlc_module_begin ()
set_description( N_("Gradient video filter") ) set_description( N_("Gradient video filter") )
set_shortname( N_( "Gradient" )) set_shortname( N_( "Gradient" ))
set_help(GRADIENT_HELP)
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -45,12 +45,14 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -45,12 +45,14 @@ static picture_t *Filter( filter_t *, picture_t * );
#define FILTER_PREFIX "grain-" #define FILTER_PREFIX "grain-"
#define NOISE_HELP N_("add grain to image")
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Grain video filter") ) set_description( N_("Grain video filter") )
set_shortname( N_( "Grain" )) set_shortname( N_( "Grain" ))
set_help(NOISE_HELP)
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -70,6 +70,8 @@ ...@@ -70,6 +70,8 @@
"(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \ "(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
"also use combinations of these values, eg 6 = top-right).") "also use combinations of these values, eg 6 = top-right).")
#define LOGO_HELP N_("Use a local picture as logo on the video")
#define CFG_PREFIX "logo-" #define CFG_PREFIX "logo-"
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
...@@ -84,7 +86,7 @@ static void Close ( vlc_object_t * ); ...@@ -84,7 +86,7 @@ static void Close ( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_SUBPIC ) set_subcategory( SUBCAT_VIDEO_SUBPIC )
set_help(LOGO_HELP)
set_capability( "sub filter", 0 ) set_capability( "sub filter", 0 )
set_callbacks( OpenSub, Close ) set_callbacks( OpenSub, Close )
set_description( N_("Logo sub filter") ) set_description( N_("Logo sub filter") )
......
...@@ -139,12 +139,16 @@ static const char *const ppsz_pos_descriptions[] = ...@@ -139,12 +139,16 @@ static const char *const ppsz_pos_descriptions[] =
#define CFG_PREFIX "marq-" #define CFG_PREFIX "marq-"
#define MARQUEE_HELP N_("Display text above the video")
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_capability( "sub filter", 0 ) set_capability( "sub filter", 0 )
set_shortname( N_("Marquee" )) set_shortname( N_("Marquee" ))
set_description( N_("Marquee display") )
set_help(MARQUEE_HELP)
set_callbacks( CreateFilter, DestroyFilter ) set_callbacks( CreateFilter, DestroyFilter )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_SUBPIC ) set_subcategory( SUBCAT_VIDEO_SUBPIC )
...@@ -173,7 +177,6 @@ vlc_module_begin () ...@@ -173,7 +177,6 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "refresh", 1000, NULL, REFRESH_TEXT, add_integer( CFG_PREFIX "refresh", 1000, NULL, REFRESH_TEXT,
REFRESH_LONGTEXT, false ) REFRESH_LONGTEXT, false )
set_description( N_("Marquee display") )
add_shortcut( "time" ) add_shortcut( "time" )
add_obsolete_string( "time-format" ) add_obsolete_string( "time-format" )
add_obsolete_string( "time-x" ) add_obsolete_string( "time-x" )
......
...@@ -77,7 +77,7 @@ static const char *const ppsz_direction_descriptions[] = { ...@@ -77,7 +77,7 @@ static const char *const ppsz_direction_descriptions[] = {
vlc_module_begin () vlc_module_begin ()
set_description( N_("Mirror video filter") ) set_description( N_("Mirror video filter") )
set_shortname( N_("Mirror video" )) set_shortname( N_("Mirror video" ))
set_help( N_("Splits video in two same parts, like in the mirror") ) set_help( N_("Splits video in two same parts, like in a mirror") )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
......
...@@ -68,12 +68,16 @@ ...@@ -68,12 +68,16 @@
#define CFG_PREFIX "panoramix-" #define CFG_PREFIX "panoramix-"
#define PANORAMIX_HELP N_("Split the video in multiple windows to " \
"display on a wall of screens")
static int Open ( vlc_object_t * ); static int Open ( vlc_object_t * );
static void Close( vlc_object_t * ); static void Close( vlc_object_t * );
vlc_module_begin() vlc_module_begin()
set_description( N_("Panoramix: wall with overlap video filter") ) set_description( N_("Panoramix: wall with overlap video filter") )
set_shortname( N_("Panoramix" )) set_shortname( N_("Panoramix" ))
set_help(PANORAMIX_HELP)
set_capability( "video splitter", 0 ) set_capability( "video splitter", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -167,6 +167,8 @@ struct filter_sys_t ...@@ -167,6 +167,8 @@ struct filter_sys_t
#define TITLE_TEXT N_("Title display mode") #define TITLE_TEXT N_("Title display mode")
#define TITLE_LONGTEXT N_("Title display mode. Default is 0 (hidden) if the feed has an image and feed images are enabled, 1 otherwise.") #define TITLE_LONGTEXT N_("Title display mode. Default is 0 (hidden) if the feed has an image and feed images are enabled, 1 otherwise.")
#define RSS_HELP N_("Display a RSS or ATOM Feed on your video")
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
static const char *const ppsz_pos_descriptions[] = static const char *const ppsz_pos_descriptions[] =
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"), { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
...@@ -190,6 +192,7 @@ static const char *const ppsz_title_modes[] = ...@@ -190,6 +192,7 @@ static const char *const ppsz_title_modes[] =
vlc_module_begin () vlc_module_begin ()
set_capability( "sub filter", 1 ) set_capability( "sub filter", 1 )
set_shortname( "RSS / Atom" ) set_shortname( "RSS / Atom" )
set_help(RSS_HELP)
set_callbacks( CreateFilter, DestroyFilter ) set_callbacks( CreateFilter, DestroyFilter )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_SUBPIC ) set_subcategory( SUBCAT_VIDEO_SUBPIC )
......
...@@ -85,11 +85,13 @@ static void SavePicture( filter_t *, picture_t * ); ...@@ -85,11 +85,13 @@ static void SavePicture( filter_t *, picture_t * );
"creating one file per image. In this case, " \ "creating one file per image. In this case, " \
"the number is not appended to the filename." ) "the number is not appended to the filename." )
#define SCENE_HELP N_("Send your video to picture files")
#define CFG_PREFIX "scene-" #define CFG_PREFIX "scene-"
vlc_module_begin () vlc_module_begin ()
set_shortname( N_( "Scene filter" ) ) set_shortname( N_( "Scene filter" ) )
set_description( N_( "Scene video filter" ) ) set_description( N_( "Scene video filter" ) )
set_help(SCENE_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VOUT ) set_subcategory( SUBCAT_VIDEO_VOUT )
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
......
...@@ -56,14 +56,16 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -56,14 +56,16 @@ static picture_t *Filter( filter_t *, picture_t * );
static int SharpenCallback( vlc_object_t *, char const *, static int SharpenCallback( vlc_object_t *, char const *,
vlc_value_t, vlc_value_t, void * ); vlc_value_t, vlc_value_t, void * );
#define SHARPEN_HELP N_("Augment contrast between contours.")
#define FILTER_PREFIX "sharpen-" #define FILTER_PREFIX "sharpen-"
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Augment contrast between contours.") ) set_description( N_("Sharpen video filter") )
set_shortname( N_("Sharpen video filter") ) set_shortname( N_("Sharpen") )
set_help(SHARPEN_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter2", 0 )
......
...@@ -70,11 +70,13 @@ static const char *const type_list_text[] = { N_("Rotate by 90 degrees"), ...@@ -70,11 +70,13 @@ static const char *const type_list_text[] = { N_("Rotate by 90 degrees"),
N_("Rotate by 180 degrees"), N_("Rotate by 270 degrees"), N_("Rotate by 180 degrees"), N_("Rotate by 270 degrees"),
N_("Flip horizontally"), N_("Flip vertically") }; N_("Flip horizontally"), N_("Flip vertically") };
#define TRANSFORM_HELP N_("Rotate or flip the video")
#define CFG_PREFIX "transform-" #define CFG_PREFIX "transform-"
vlc_module_begin () vlc_module_begin ()
set_description( N_("Video transformation filter") ) set_description( N_("Video transformation filter") )
set_shortname( N_("Transformation")) set_shortname( N_("Transformation"))
set_help(TRANSFORM_HELP)
set_capability( "video filter", 0 ) set_capability( "video filter", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -58,14 +58,17 @@ static void Close(vlc_object_t *); ...@@ -58,14 +58,17 @@ static void Close(vlc_object_t *);
#define DESKTOP_LONGTEXT N_(\ #define DESKTOP_LONGTEXT N_(\
"The desktop mode allows you to display the video on the desktop.") "The desktop mode allows you to display the video on the desktop.")
#define D3D_HELP N_("Recommended video output for Windows Vista and later versions")
vlc_module_begin () vlc_module_begin ()
set_shortname("Direct3D") set_shortname("Direct3D")
set_description(N_("Direct3D video output"))
set_help(D3D_HELP)
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VOUT) set_subcategory(SUBCAT_VIDEO_VOUT)
add_bool("direct3d-desktop", false, NULL, DESKTOP_TEXT, DESKTOP_LONGTEXT, true) add_bool("direct3d-desktop", false, NULL, DESKTOP_TEXT, DESKTOP_LONGTEXT, true)
set_description(N_("DirectX 3D video output"))
set_capability("vout display", 70) set_capability("vout display", 70)
add_shortcut("direct3d_xp") add_shortcut("direct3d_xp")
set_callbacks(OpenVideoXP, Close) set_callbacks(OpenVideoXP, Close)
......
...@@ -155,11 +155,16 @@ BOOL WINAPI DirectXEnumCallback2( GUID* p_guid, LPTSTR psz_desc, ...@@ -155,11 +155,16 @@ BOOL WINAPI DirectXEnumCallback2( GUID* p_guid, LPTSTR psz_desc,
"window to open on. For example, \"\\\\.\\DISPLAY1\" or " \ "window to open on. For example, \"\\\\.\\DISPLAY1\" or " \
"\"\\\\.\\DISPLAY2\"." ) "\"\\\\.\\DISPLAY2\"." )
#define DX_HELP N_("Recommended video output for Windows XP. " \
"Incompatible with Vista's Aero interface" )
static const char *const ppsz_dev[] = { "" }; static const char *const ppsz_dev[] = { "" };
static const char *const ppsz_dev_text[] = { N_("Default") }; static const char *const ppsz_dev_text[] = { N_("Default") };
vlc_module_begin () vlc_module_begin ()
set_shortname( "DirectX" ) set_shortname( "DirectX" )
set_description( N_("DirectX (DirectDraw) video output") )
set_help(DX_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VOUT ) set_subcategory( SUBCAT_VIDEO_VOUT )
add_bool( "directx-hw-yuv", true, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT, add_bool( "directx-hw-yuv", true, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,
...@@ -174,7 +179,6 @@ vlc_module_begin () ...@@ -174,7 +179,6 @@ vlc_module_begin ()
change_string_list( ppsz_dev, ppsz_dev_text, FindDevicesCallback ) change_string_list( ppsz_dev, ppsz_dev_text, FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") ) change_action_add( FindDevicesCallback, N_("Refresh list") )
set_description( N_("DirectX (DirectDraw) video output") )
set_capability( "video output", 100 ) set_capability( "video output", 100 )
add_shortcut( "directx" ) add_shortcut( "directx" )
set_callbacks( OpenVideo, CloseVideo ) set_callbacks( OpenVideo, CloseVideo )
......
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