vlc | branch: master | Gildas Bazin <[email protected]> | Fri Sep 24 08:50:34 2010 +0100| [589a6b5048de295bae7e81ff04b9fc53b9c19b38] | committer: Gildas Bazin
video_output/xcb: fix description strings for --xvideo-format-id config option > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=589a6b5048de295bae7e81ff04b9fc53b9c19b38 --- modules/video_output/xcb/xvideo.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c index db0ea8b..99f1f26 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") _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
