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
9a04dfd7
Commit
9a04dfd7
authored
Oct 10, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengllayer: the variable is a void* and not an integer and must be named drawable-nsobject.
parent
0957d357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
modules/video_output/opengllayer.m
modules/video_output/opengllayer.m
+2
-6
No files found.
modules/video_output/opengllayer.m
View file @
9a04dfd7
...
...
@@ -167,7 +167,6 @@ static int Init( vout_thread_t *p_vout )
{
vout_sys_t
*
p_sys
=
p_vout
->
p_sys
;
int
i_pixel_pitch
;
vlc_value_t
val
;
#if ( defined( WORDS_BIGENDIAN ) && VLCGL_FORMAT == GL_YCBCR_422_APPLE ) || (VLCGL_FORMAT == YCBCR_MESA)
p_vout
->
output
.
i_chroma
=
VLC_CODEC_YUYV
;
...
...
@@ -184,12 +183,9 @@ static int Init( vout_thread_t *p_vout )
p_vout
->
output
.
i_aspect
=
p_vout
->
render
.
i_aspect
;
/* We do need a drawable to work properly */
vlc_value_t
value_drawable
;
var_Create
(
p_vout
,
"drawable-gl"
,
VLC_VAR_DOINHERIT
);
var_Get
(
p_vout
,
"drawable-gl"
,
&
value_drawable
);
p_vout
->
p_sys
->
o_cocoa_container
=
(
id
)
var_CreateGetAddress
(
p_vout
,
"drawable-nsobject"
);
p_vout
->
p_sys
->
o_cocoa_container
=
(
id
)
value_drawable
.
i_int
;
p_vout
->
fmt_out
=
p_vout
->
fmt_in
;
p_vout
->
fmt_out
.
i_chroma
=
p_vout
->
output
.
i_chroma
;
...
...
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