[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Do not set up live playback controls bar view when using detached video window

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Jun 15 17:54:09 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
9ab2159d by Claudio Cambra at 2025-06-15T17:39:37+00:00
macosx: Do not set up live playback controls bar view when using detached video window

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

- - - - -
a136f305 by Claudio Cambra at 2025-06-15T17:39:37+00:00
macosx: Prevent displaying of live playback in main window controls bar when video track is disabled

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

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryWindow.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryWindow.m
=====================================
@@ -499,6 +499,13 @@ static void addShadow(NSImageView *__unsafe_unretained imageView)
 
 - (void)configureArtworkButtonLiveVideoView
 {
+    VLCPlayerController * const playerController = self.playerController;
+    const BOOL videoTrackDisabled =
+        !playerController.videoTracksEnabled || !playerController.selectedVideoTrack.selected;
+        
+    if (videoTrackDisabled || !var_InheritBool(getIntf(), "embedded-video"))
+        return;
+
     _acquiredVideoView = [self.videoViewController acquireVideoView];
     if (_acquiredVideoView) {
         [self.controlsBar.artworkImageView addSubview:_acquiredVideoView



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/310679ffe75472ab8ebc76e1450f760304e38882...a136f30518a930f11974f222161de731c193092d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/310679ffe75472ab8ebc76e1450f760304e38882...a136f30518a930f11974f222161de731c193092d
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