]> git.sesse.net Git - vlc/commitdiff
video_output/xcb: fix description strings for --xvideo-format-id config option
authorGildas Bazin <gbazin@videolan.org>
Fri, 24 Sep 2010 07:50:34 +0000 (08:50 +0100)
committerGildas Bazin <gbazin@videolan.org>
Fri, 24 Sep 2010 07:50:34 +0000 (08:50 +0100)
modules/video_output/xcb/xvideo.c

index db0ea8b8d416815976be6cdf1280db901955a976..99f1f268bb10e4db9f586103af2ea6200fa921d2 100644 (file)
     "XVideo hardware adaptor to use. By default, VLC will " \
     "use the first functional adaptor.")
 
+#define FORMAT_TEXT N_("XVideo format id")
+#define FORMAT_LONGTEXT N_( \
+    "XVideo image format id to use. By default, VLC will " \
+    "try to use the best match for the video being played.")
+
 #define SHM_TEXT N_("Use shared memory")
 #define SHM_LONGTEXT N_( \
     "Use shared memory to communicate between VLC and the X server.")
@@ -64,8 +69,8 @@ vlc_module_begin ()
 
     add_integer ("xvideo-adaptor", -1, NULL,
                  ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true)
-    add_integer ("xvideo-format-id", -1, NULL,
-                 ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true)
+    add_integer ("xvideo-format-id", 0, NULL,
+                 FORMAT_TEXT, FORMAT_LONGTEXT, true)
     add_bool ("x11-shm", true, NULL, SHM_TEXT, SHM_LONGTEXT, true)
         add_deprecated_alias ("xvideo-shm")
     add_shortcut ("xcb-xv", "xv", "xvideo", "xid")