Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
fdb2c3eb
Commit
fdb2c3eb
authored
Dec 12, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented VOUT_DISPLAY_GET_OPENGL in glwin32.
parent
99bf49b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+10
-1
No files found.
modules/video_output/msw/glwin32.c
View file @
fdb2c3eb
...
...
@@ -55,6 +55,7 @@ vlc_module_begin()
set_description
(
N_
(
"OpenGL video output"
))
set_capability
(
"vout display"
,
20
)
add_shortcut
(
"glwin32"
)
add_shortcut
(
"opengl"
)
set_callbacks
(
Open
,
Close
)
/* FIXME: Hack to avoid unregistering our window class */
...
...
@@ -208,7 +209,15 @@ static void Display(vout_display_t *vd, picture_t *picture)
static
int
Control
(
vout_display_t
*
vd
,
int
query
,
va_list
args
)
{
return
CommonControl
(
vd
,
query
,
args
);
switch
(
query
)
{
case
VOUT_DISPLAY_GET_OPENGL
:
{
vout_opengl_t
**
gl
=
va_arg
(
args
,
vout_opengl_t
**
);
*
gl
=
&
vd
->
sys
->
gl
;
return
VLC_SUCCESS
;
}
default:
return
CommonControl
(
vd
,
query
,
args
);
}
}
static
void
Manage
(
vout_display_t
*
vd
)
...
...
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