Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
49bcf08a
Commit
49bcf08a
authored
Feb 10, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup.
SHM is autodetected, so there is not point in disabling it by force.
parent
7503582f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+3
-17
No files found.
modules/video_output/x11/xcommon.c
View file @
49bcf08a
...
@@ -2666,9 +2666,6 @@ static int InitDisplay( vout_thread_t *p_vout )
...
@@ -2666,9 +2666,6 @@ static int InitDisplay( vout_thread_t *p_vout )
if
(
config_GetInt
(
p_vout
,
MODULE_STRING
"-shm"
)
)
if
(
config_GetInt
(
p_vout
,
MODULE_STRING
"-shm"
)
)
{
{
# ifdef __APPLE__
/* FIXME: As of 2001-03-16, XFree4 for MacOS X does not support Xshm */
# else
int
major
,
evt
,
err
;
int
major
,
evt
,
err
;
if
(
XQueryExtension
(
p_vout
->
p_sys
->
p_display
,
"MIT-SHM"
,
&
major
,
if
(
XQueryExtension
(
p_vout
->
p_sys
->
p_display
,
"MIT-SHM"
,
&
major
,
...
@@ -2688,22 +2685,11 @@ static int InitDisplay( vout_thread_t *p_vout )
...
@@ -2688,22 +2685,11 @@ static int InitDisplay( vout_thread_t *p_vout )
major
,
minor
,
pixmaps
?
""
:
"out"
,
major
,
minor
,
pixmaps
?
""
:
"out"
,
p_vout
->
p_sys
->
i_shm_opcode
);
p_vout
->
p_sys
->
i_shm_opcode
);
}
}
else
# endif
msg_Warn
(
p_vout
,
"XShm video extension not available"
);
if
(
!
p_vout
->
p_sys
->
i_shm_opcode
)
{
msg_Warn
(
p_vout
,
"XShm video extension is unavailable"
);
}
}
}
else
else
{
msg_Dbg
(
p_vout
,
"XShm video extension disabled"
);
msg_Dbg
(
p_vout
,
"disabling XShm video extension"
);
}
#else
msg_Warn
(
p_vout
,
"XShm video extension is unavailable"
);
#endif
#endif
#ifdef MODULE_NAME_IS_xvideo
#ifdef MODULE_NAME_IS_xvideo
...
...
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