Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3d7d7485
Commit
3d7d7485
authored
Jan 18, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move --x11-display to the XCB window plugin
parent
873b1ceb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+9
-3
src/libvlc-module.c
src/libvlc-module.c
+0
-9
No files found.
modules/video_output/xcb/window.c
View file @
3d7d7485
...
...
@@ -40,10 +40,15 @@ typedef xcb_atom_t Atom;
#include "xcb_vlc.h"
#define XID_TEXT N_("ID of the video output X window")
#define DISPLAY_TEXT N_("X11 display")
#define DISPLAY_LONGTEXT N_( \
"Video will be rendered with this X11 display. " \
"If empty, the default display will be used.")
#define XID_TEXT N_("X11 window ID")
#define XID_LONGTEXT N_( \
"V
LC can embed its video output in an
existing X11 window. " \
"
This is the X identifier of that window (0 means none)
.")
"V
ideo will be embedded in this pre-
existing X11 window. " \
"
If zero, a new window will be created
.")
static
int
Open
(
vout_window_t
*
,
const
vout_window_cfg_t
*
);
static
void
Close
(
vout_window_t
*
);
...
...
@@ -76,6 +81,7 @@ vlc_module_begin ()
set_callbacks
(
EmOpen
,
EmClose
)
add_shortcut
(
"embed-xid"
)
add_string
(
"x11-display"
,
NULL
,
DISPLAY_TEXT
,
DISPLAY_LONGTEXT
,
true
)
add_integer
(
"drawable-xid"
,
0
,
XID_TEXT
,
XID_LONGTEXT
,
true
)
change_volatile
()
...
...
src/libvlc-module.c
View file @
3d7d7485
...
...
@@ -431,11 +431,6 @@ 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" )
...
...
@@ -1666,10 +1661,6 @@ vlc_module_begin ()
#ifdef __APPLE__
add_deprecated_alias
(
"macosx-embedded"
)
/*deprecated since 0.9.0 */
#endif
add_string
(
"x11-display"
,
NULL
,
DISPLAY_TEXT
,
DISPLAY_LONGTEXT
,
true
)
add_deprecated_alias
(
"xvideo-display"
)
/* deprecated since 1.1.0 */
//add_deprecated_alias( "glx-display" ) cannot have more than one
add_bool
(
"xlib"
,
true
,
""
,
""
,
true
)
change_private
()
add_bool
(
"drop-late-frames"
,
1
,
DROP_LATE_FRAMES_TEXT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment