[vlc-commits] macosx: Fix broken resume feature of the Music app

David Fuhrmann git at videolan.org
Wed Jun 17 20:24:20 CEST 2020


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Jun 17 20:17:11 2020 +0200| [78a6405982163fa450a7901e02feddc2687426b3] | committer: David Fuhrmann

macosx: Fix broken resume feature of the Music app

Seems to be a copy paste error in the backport, the code in
vlc.git was right from the beginning

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=78a6405982163fa450a7901e02feddc2687426b3
---

 modules/gui/macosx/VLCInputManager.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCInputManager.m b/modules/gui/macosx/VLCInputManager.m
index 2b736dc2da..5938c3921e 100644
--- a/modules/gui/macosx/VLCInputManager.m
+++ b/modules/gui/macosx/VLCInputManager.m
@@ -376,7 +376,7 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
             if ([iTunesApp playerState] == iTunesEPlSPlaying) {
                 msg_Dbg(p_intf, "pausing Apple Music");
                 [iTunesApp pause];
-                b_has_itunes_paused = YES;
+                b_has_applemusic_paused = YES;
             }
         }
     }



More information about the vlc-commits mailing list