[vlc-commits] [Git][videolan/vlc][master] macosx: Fix playback of audio carousel items when library playback mode is enabled
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Feb 11 08:15:26 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
cea7e52b by Claudio Cambra at 2024-02-11T07:53:42+00:00
macosx: Fix playback of audio carousel items when library playback mode is enabled
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryRepresentedItem.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryRepresentedItem.m
=====================================
@@ -240,6 +240,12 @@
NSArray<VLCMediaLibraryMediaItem *> * const parentItems = self.parentMediaArray;
const NSUInteger parentItemCount = parentItems.count;
+
+ if (parentItemCount == 0) {
+ [self playIndividualModeImmediately:playImmediately];
+ return;
+ }
+
const NSUInteger itemIndexInParent = self.itemIndexInParent;
const NSUInteger startingIndex = itemIndexInParent == NSNotFound ? 0 : itemIndexInParent;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cea7e52bc1675ce15555819e9eecb9ac9a3f4cd2
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cea7e52bc1675ce15555819e9eecb9ac9a3f4cd2
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