[vlc-commits] transform: do not repeat choices in long help
Rémi Denis-Courmont
git at videolan.org
Sat Mar 17 17:44:43 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 17 18:44:27 2012 +0200| [73592ab3f30df4a4b44bd5e58f5e975ff0a56642] | committer: Rémi Denis-Courmont
transform: do not repeat choices in long help
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73592ab3f30df4a4b44bd5e58f5e975ff0a56642
---
modules/video_filter/transform.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c
index 1ce553c..9e33445 100644
--- a/modules/video_filter/transform.c
+++ b/modules/video_filter/transform.c
@@ -45,7 +45,6 @@ static void Close(vlc_object_t *);
#define CFG_PREFIX "transform-"
#define TYPE_TEXT N_("Transform type")
-#define TYPE_LONGTEXT N_("One of '90', '180', '270', 'hflip' and 'vflip'")
static const char * const type_list[] = { "90", "180", "270", "hflip", "vflip" };
static const char * const type_list_text[] = { N_("Rotate by 90 degrees"),
N_("Rotate by 180 degrees"), N_("Rotate by 270 degrees"),
@@ -59,7 +58,7 @@ vlc_module_begin()
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
- add_string(CFG_PREFIX "type", "90", TYPE_TEXT, TYPE_LONGTEXT, false)
+ add_string(CFG_PREFIX "type", "90", TYPE_TEXT, TYPE_TEXT, false)
change_string_list(type_list, type_list_text, 0)
add_shortcut("transform")
More information about the vlc-commits
mailing list