X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-module.c;h=a8a83baa73741ec53ba7e53cc26221439d6b772f;hb=1cfe42c98fe6b715632a447957a733b5f6d0c36f;hp=db43e4843079658a6a74078c6ea425afd4f0000b;hpb=e87593bb6a622515e011370e52ccf426c92b02a8;p=vlc diff --git a/src/libvlc-module.c b/src/libvlc-module.c index db43e48430..a8a83baa73 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -421,6 +421,11 @@ static const char *const ppsz_align_descriptions[] = #define EMBEDDED_LONGTEXT N_( \ "Embed the video output in the main interface." ) +#define DISPLAY_TEXT N_("X11 display") +#define DISPLAY_LONGTEXT N_( \ + "X11 hardware display to use. By default VLC will " \ + "use the value of the DISPLAY environment variable.") + #define FULLSCREEN_TEXT N_("Fullscreen video output") #define FULLSCREEN_LONGTEXT N_( \ "Start video in fullscreen mode" ) @@ -1627,6 +1632,9 @@ vlc_module_begin () #ifdef __APPLE__ add_deprecated_alias( "macosx-embedded" ) /*deprecated since 0.9.0 */ #endif + add_string( "x11-display", NULL, NULL, + DISPLAY_TEXT, DISPLAY_LONGTEXT, true ) + add_deprecated_alias( "xvideo-display" ) /* deprecated since 1.1.0 */ add_bool( "drop-late-frames", 1, NULL, DROP_LATE_FRAMES_TEXT, DROP_LATE_FRAMES_LONGTEXT, true ) /* Used in vout_synchro */