[vlc-commits] macosx/playlist: fix playback broken in 50c0fa5d
Felix Paul Kühne
git at videolan.org
Mon May 6 08:25:20 CEST 2019
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon May 6 08:22:29 2019 +0200| [316f60130cbe83777b45bc0b07b15cd33f8b8ab1] | committer: Felix Paul Kühne
macosx/playlist: fix playback broken in 50c0fa5d
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=316f60130cbe83777b45bc0b07b15cd33f8b8ab1
---
modules/gui/macosx/playlist/VLCPlayerController.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/playlist/VLCPlayerController.m b/modules/gui/macosx/playlist/VLCPlayerController.m
index 01b997faed..7b4cff2e45 100644
--- a/modules/gui/macosx/playlist/VLCPlayerController.m
+++ b/modules/gui/macosx/playlist/VLCPlayerController.m
@@ -175,9 +175,9 @@ static void cb_player_rate_changed(vlc_player_t *p_player, float newRateValue, v
});
}
-static void cb_player_capabilities_changed(vlc_player_t *p_player, int newCapabilities, void *p_data)
+static void cb_player_capabilities_changed(vlc_player_t *p_player, int oldCapabilities, int newCapabilities, void *p_data)
{
- VLC_UNUSED(p_player);
+ VLC_UNUSED(p_player); VLC_UNUSED(oldCapabilities);
dispatch_async(dispatch_get_main_queue(), ^{
VLCPlayerController *playerController = (__bridge VLCPlayerController *)p_data;
[playerController capabilitiesChanged:newCapabilities];
More information about the vlc-commits
mailing list