From: Gildas Bazin Date: Fri, 24 Sep 2010 07:50:34 +0000 (+0100) Subject: video_output/xcb: fix description strings for --xvideo-format-id config option X-Git-Tag: 1.2.0-pre1~5233 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=589a6b5048de295bae7e81ff04b9fc53b9c19b38;p=vlc video_output/xcb: fix description strings for --xvideo-format-id config option --- diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c index db0ea8b8d4..99f1f268bb 100644 --- a/modules/video_output/xcb/xvideo.c +++ b/modules/video_output/xcb/xvideo.c @@ -44,6 +44,11 @@ "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")