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
e538b708
Commit
e538b708
authored
Feb 20, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla: video is displayed again
parent
b1e669cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+4
-4
No files found.
modules/gui/macosx/voutgl.m
View file @
e538b708
...
...
@@ -110,11 +110,11 @@ int OpenVideoGL ( vlc_object_t * p_this )
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
if
(
p_vout
->
p_sys
==
NULL
)
return
(
1
)
;
return
VLC_ENOMEM
;
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
var_Get
(
p_vout
->
p_libvlc
,
"drawable"
,
&
value_drawable
);
var_Get
(
p_vout
->
p_libvlc
,
"drawable
-xid
"
,
&
value_drawable
);
if
(
value_drawable
.
i_int
!=
0
)
{
static
const
GLint
ATTRIBUTES
[]
=
{
...
...
@@ -497,7 +497,7 @@ static int aglInit( vout_thread_t * p_vout )
Rect
viewBounds
;
Rect
clipBounds
;
var_Get
(
p_vout
->
p_libvlc
,
"drawable"
,
&
val
);
var_Get
(
p_vout
->
p_libvlc
,
"drawable
-xid
"
,
&
val
);
p_vout
->
p_sys
->
agl_drawable
=
(
AGLDrawable
)
val
.
i_int
;
aglSetDrawable
(
p_vout
->
p_sys
->
agl_ctx
,
p_vout
->
p_sys
->
agl_drawable
);
...
...
@@ -617,7 +617,7 @@ static int aglManage( vout_thread_t * p_vout )
Rect
viewBounds
;
Rect
clipBounds
;
var_Get
(
p_vout
->
p_libvlc
,
"drawable"
,
&
val
);
var_Get
(
p_vout
->
p_libvlc
,
"drawable
-xid
"
,
&
val
);
p_vout
->
p_sys
->
agl_drawable
=
(
AGLDrawable
)
val
.
i_int
;
aglSetDrawable
(
p_vout
->
p_sys
->
agl_ctx
,
p_vout
->
p_sys
->
agl_drawable
);
...
...
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