Commit 589a6b50 authored by Gildas Bazin's avatar Gildas Bazin

video_output/xcb: fix description strings for --xvideo-format-id config option

parent b01d8a39
...@@ -44,6 +44,11 @@ ...@@ -44,6 +44,11 @@
"XVideo hardware adaptor to use. By default, VLC will " \ "XVideo hardware adaptor to use. By default, VLC will " \
"use the first functional adaptor.") "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_TEXT N_("Use shared memory")
#define SHM_LONGTEXT N_( \ #define SHM_LONGTEXT N_( \
"Use shared memory to communicate between VLC and the X server.") "Use shared memory to communicate between VLC and the X server.")
...@@ -64,8 +69,8 @@ vlc_module_begin () ...@@ -64,8 +69,8 @@ vlc_module_begin ()
add_integer ("xvideo-adaptor", -1, NULL, add_integer ("xvideo-adaptor", -1, NULL,
ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true) ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true)
add_integer ("xvideo-format-id", -1, NULL, add_integer ("xvideo-format-id", 0, NULL,
ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true) FORMAT_TEXT, FORMAT_LONGTEXT, true)
add_bool ("x11-shm", true, NULL, SHM_TEXT, SHM_LONGTEXT, true) add_bool ("x11-shm", true, NULL, SHM_TEXT, SHM_LONGTEXT, true)
add_deprecated_alias ("xvideo-shm") add_deprecated_alias ("xvideo-shm")
add_shortcut ("xcb-xv", "xv", "xvideo", "xid") add_shortcut ("xcb-xv", "xv", "xvideo", "xid")
......
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