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
9ad0b173
Commit
9ad0b173
authored
Oct 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: remove unreachable GET_OPENGL controls
This control is only useful if the video output is called "opengl".
parent
e623f83c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
22 deletions
+2
-22
modules/video_output/caopengllayer.m
modules/video_output/caopengllayer.m
+0
-6
modules/video_output/gl.c
modules/video_output/gl.c
+2
-2
modules/video_output/ios2.m
modules/video_output/ios2.m
+0
-7
modules/video_output/macosx.m
modules/video_output/macosx.m
+0
-7
No files found.
modules/video_output/caopengllayer.m
View file @
9ad0b173
...
...
@@ -334,12 +334,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
gl
=
va_arg
(
ap
,
vlc_gl_t
**
);
*
gl
=
&
sys
->
gl
;
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
{
return
VLC_SUCCESS
;
...
...
modules/video_output/gl.c
View file @
9ad0b173
...
...
@@ -272,7 +272,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
vlc_gl_ReleaseCurrent
(
sys
->
gl
);
return
VLC_SUCCESS
;
}
#if !USE_OPENGL_ES
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
pgl
=
va_arg
(
ap
,
vlc_gl_t
**
);
...
...
@@ -280,7 +280,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
*
pgl
=
sys
->
gl
;
return
VLC_SUCCESS
;
}
#endif
default:
msg_Err
(
vd
,
"Unknown request %d"
,
query
);
}
...
...
modules/video_output/ios2.m
View file @
9ad0b173
...
...
@@ -314,13 +314,6 @@ static int Control(vout_display_t *vd, int query, va_list ap)
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
gl
=
va_arg
(
ap
,
vlc_gl_t
**
);
*
gl
=
&
sys
->
gl
;
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_RESET_PICTURES
:
assert
(
0
);
default:
...
...
modules/video_output/macosx.m
View file @
9ad0b173
...
...
@@ -384,13 +384,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_GET_OPENGL
:
{
vlc_gl_t
**
gl
=
va_arg
(
ap
,
vlc_gl_t
**
);
*
gl
=
&
sys
->
gl
;
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_RESET_PICTURES
:
assert
(
0
);
default:
...
...
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