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
bac40aa4
Commit
bac40aa4
authored
Aug 02, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we don't use the deprecated get_drawable(), by using get_nsobject().
And remove a few unnecessary casts.
parent
c36bcec8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
projects/macosx/framework/Sources/VLCMediaPlayer.m
projects/macosx/framework/Sources/VLCMediaPlayer.m
+3
-6
No files found.
projects/macosx/framework/Sources/VLCMediaPlayer.m
View file @
bac40aa4
...
@@ -223,9 +223,7 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
...
@@ -223,9 +223,7 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
// Make sure that this instance has been associated with the drawing canvas.
// Make sure that this instance has been associated with the drawing canvas.
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
libvlc_media_player_set_nsobject
((
libvlc_media_player_t
*
)
instance
,
libvlc_media_player_set_nsobject
(
instance
,
aDrawable
,
&
ex
);
aDrawable
,
&
ex
);
catch_exception
(
&
ex
);
catch_exception
(
&
ex
);
}
}
...
@@ -233,10 +231,9 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
...
@@ -233,10 +231,9 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
{
{
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
libvlc_drawable_t
ret
=
libvlc_media_player_get_drawable
((
libvlc_media_player_t
*
)
instance
,
id
ret
=
libvlc_media_player_get_nsobject
(
instance
);
&
ex
);
catch_exception
(
&
ex
);
catch_exception
(
&
ex
);
return
(
id
)
ret
;
return
ret
;
}
}
-
(
VLCAudio
*
)
audio
-
(
VLCAudio
*
)
audio
...
...
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