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
6223f120
Commit
6223f120
authored
Jun 28, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed video output
parent
a8f418d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+3
-4
No files found.
modules/gui/macosx/voutgl.m
View file @
6223f120
...
...
@@ -103,7 +103,6 @@ static void aglUnlock ( vout_thread_t * p_vout );
int
OpenVideoGL
(
vlc_object_t
*
p_this
)
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vlc_value_t
value_drawable
;
if
(
!
CGDisplayUsesOpenGLAcceleration
(
kCGDirectMainDisplay
)
)
{
...
...
@@ -119,8 +118,9 @@ int OpenVideoGL ( vlc_object_t * p_this )
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
#ifndef __x86_64__
var_Get
(
p_vout
->
p_libvlc
,
"drawable-agl"
,
&
value_drawable
);
if
(
value_drawable
.
i_int
!=
0
)
int
i_drawable_agl
;
i_drawable_agl
=
var_GetInteger
(
p_vout
->
p_libvlc
,
"drawable-agl"
);
if
(
i_drawable_agl
>
0
)
{
static
const
GLint
ATTRIBUTES
[]
=
{
AGL_WINDOW
,
...
...
@@ -208,7 +208,6 @@ void CloseVideoGL ( vlc_object_t * p_this )
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
msg_Dbg
(
p_this
,
"Closing"
);
#ifndef __x86_64__
if
(
p_vout
->
p_sys
->
b_embedded
)
...
...
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