[vlc-commits] [Git][videolan/vlc][master] macosx: When the user selects a new item to play while playback end view is active, dismiss it

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Jun 30 12:16:34 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
98ddaf35 by Claudio Cambra at 2025-06-30T11:49:32+00:00
macosx: When the user selects a new item to play while playback end view is active, dismiss it

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/windows/video/VLCMainVideoViewController.m


Changes:

=====================================
modules/gui/macosx/windows/video/VLCMainVideoViewController.m
=====================================
@@ -235,6 +235,10 @@
     NSAssert(controller != nil, 
              @"Player current media item changed notification should have valid player controller");
     [self updateDecorativeViewVisibilityOnControllerChange:controller];
+
+    // New item playing, dismiss playback end view
+    [self.playbackEndViewController.countdownTimer invalidate];
+    [self.playbackEndViewController.view removeFromSuperview];
 }
 
 - (void)playerCurrentItemTrackListChanged:(NSNotification *)notification



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/98ddaf3500b104639c5104e41510b1dd11c4173c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/98ddaf3500b104639c5104e41510b1dd11c4173c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list