[vlc-commits] macosx/player controller: adapt to core API changes
Felix Paul Kühne
git at videolan.org
Tue Jun 11 11:46:57 CEST 2019
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Tue Jun 11 11:46:08 2019 +0200| [9c36eeed4e2e41ee825da73f04b437b86cf2d23b] | committer: Felix Paul Kühne
macosx/player controller: adapt to core API changes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c36eeed4e2e41ee825da73f04b437b86cf2d23b
---
modules/gui/macosx/playlist/VLCPlayerController.m | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/macosx/playlist/VLCPlayerController.m b/modules/gui/macosx/playlist/VLCPlayerController.m
index 64dc7de0e6..04f71258d0 100644
--- a/modules/gui/macosx/playlist/VLCPlayerController.m
+++ b/modules/gui/macosx/playlist/VLCPlayerController.m
@@ -348,10 +348,10 @@ static void cb_player_stats_changed(vlc_player_t *p_player,
static void cb_player_track_list_changed(vlc_player_t *p_player,
enum vlc_player_list_action action,
- vlc_es_id_t *es_id,
+ const struct vlc_player_track *track,
void *p_data)
{
- VLC_UNUSED(p_player); VLC_UNUSED(action); VLC_UNUSED(es_id);
+ VLC_UNUSED(p_player); VLC_UNUSED(action); VLC_UNUSED(track);
dispatch_async(dispatch_get_main_queue(), ^{
VLCPlayerController *playerController = (__bridge VLCPlayerController *)p_data;
[playerController trackListChanged];
@@ -432,12 +432,12 @@ static void cb_player_item_meta_changed(vlc_player_t *p_player,
static void cb_player_vout_changed(vlc_player_t *p_player,
enum vlc_player_vout_action action,
vout_thread_t *p_vout,
- const struct vlc_player_track *track,
+ vlc_es_id_t *es_id,
void *p_data)
{
VLC_UNUSED(p_player);
VLC_UNUSED(p_vout);
- VLC_UNUSED(track);
+ VLC_UNUSED(es_id);
dispatch_async(dispatch_get_main_queue(), ^{
VLCPlayerController *playerController = (__bridge VLCPlayerController *)p_data;
[playerController voutListUpdated];
More information about the vlc-commits
mailing list