Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c8759b8d
Commit
c8759b8d
authored
Jul 06, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix option glx-shm does not exist error
parent
686b5fab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+7
-0
No files found.
modules/video_output/x11/glx.c
View file @
c8759b8d
...
@@ -106,6 +106,10 @@ static void SwitchContext( vout_thread_t * );
...
@@ -106,6 +106,10 @@ static void SwitchContext( vout_thread_t * );
"X11 hardware display to use. By default VLC will " \
"X11 hardware display to use. By default VLC will " \
"use the value of the DISPLAY environment variable.")
"use the value of the DISPLAY environment variable.")
#define SHM_TEXT N_("Use shared memory")
#define SHM_LONGTEXT N_( \
"Use shared memory to communicate between VLC and the X server.")
#define SCREEN_TEXT N_("Screen for fullscreen mode.")
#define SCREEN_TEXT N_("Screen for fullscreen mode.")
#define SCREEN_LONGTEXT N_( \
#define SCREEN_LONGTEXT N_( \
"Screen to use in fullscreen mode. For instance " \
"Screen to use in fullscreen mode. For instance " \
...
@@ -122,6 +126,9 @@ vlc_module_begin();
...
@@ -122,6 +126,9 @@ vlc_module_begin();
add_string
(
"glx-display"
,
NULL
,
NULL
,
DISPLAY_TEXT
,
DISPLAY_LONGTEXT
,
true
);
add_string
(
"glx-display"
,
NULL
,
NULL
,
DISPLAY_TEXT
,
DISPLAY_LONGTEXT
,
true
);
add_integer
(
"glx-adaptor"
,
-
1
,
NULL
,
ADAPTOR_TEXT
,
ADAPTOR_LONGTEXT
,
true
);
add_integer
(
"glx-adaptor"
,
-
1
,
NULL
,
ADAPTOR_TEXT
,
ADAPTOR_LONGTEXT
,
true
);
add_bool
(
"glx-altfullscreen"
,
0
,
NULL
,
ALT_FS_TEXT
,
ALT_FS_LONGTEXT
,
true
);
add_bool
(
"glx-altfullscreen"
,
0
,
NULL
,
ALT_FS_TEXT
,
ALT_FS_LONGTEXT
,
true
);
#ifdef HAVE_SYS_SHM_H
add_bool
(
"glx-shm"
,
1
,
NULL
,
SHM_TEXT
,
SHM_LONGTEXT
,
true
);
#endif
#ifdef HAVE_XINERAMA
#ifdef HAVE_XINERAMA
add_integer
(
"glx-xineramascreen"
,
0
,
NULL
,
SCREEN_TEXT
,
SCREEN_LONGTEXT
,
true
);
add_integer
(
"glx-xineramascreen"
,
0
,
NULL
,
SCREEN_TEXT
,
SCREEN_LONGTEXT
,
true
);
#endif
#endif
...
...
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