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
21ad64a8
Commit
21ad64a8
authored
Apr 11, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the nsobject for minimal_macosx.
parent
474d2d36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
+4
-4
No files found.
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
View file @
21ad64a8
...
...
@@ -49,12 +49,12 @@ int cocoaglvoutviewInit( vout_thread_t * p_vout )
msg_Dbg
(
p_vout
,
"Mac OS X Vout is opening"
);
var_Create
(
p_vout
,
"drawable-
gl
"
,
VLC_VAR_DOINHERIT
);
var_Get
(
p_vout
,
"drawabl
-gl
"
,
&
value_drawable
);
var_Create
(
p_vout
,
"drawable-
nsobject
"
,
VLC_VAR_DOINHERIT
);
var_Get
(
p_vout
,
"drawabl
e-nsobject
"
,
&
value_drawable
);
p_vout
->
p_sys
->
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
o_cocoaglview_container
=
(
id
)
value_drawable
.
i_int
;
o_cocoaglview_container
=
(
id
)
value_drawable
.
p_address
;
if
(
!
o_cocoaglview_container
)
{
msg_Warn
(
p_vout
,
"No drawable!, spawing a window"
);
...
...
@@ -81,7 +81,7 @@ void cocoaglvoutviewEnd( vout_thread_t * p_vout )
id
<
VLCOpenGLVoutEmbedding
>
o_cocoaglview_container
;
msg_Dbg
(
p_vout
,
"Mac OS X Vout is closing"
);
var_Destroy
(
p_vout
,
"drawable-
gl
"
);
var_Destroy
(
p_vout
,
"drawable-
nsobject
"
);
o_cocoaglview_container
=
[
p_vout
->
p_sys
->
o_glview
container
];
...
...
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