[vlc-commits] [Git][videolan/vlc][master] macosx: Fix NSRangeException
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Jul 8 06:02:48 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2f2617f7 by Bob Moriasi at 2025-07-08T05:39:57+00:00
macosx: Fix NSRangeException
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryModel.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -965,7 +965,7 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
[cachedMediaArray replaceObjectAtIndex:cachedMediaIndex withObject:mediaItem];
if (recentMediaArray != nil && recentMediaIndex != NSNotFound) {
- [cachedMediaArray replaceObjectAtIndex:recentMediaIndex withObject:mediaItem];
+ [recentMediaArray replaceObjectAtIndex:recentMediaIndex withObject:mediaItem];
switch (mediaItem.mediaType) {
case VLC_ML_MEDIA_TYPE_VIDEO:
[self.changeDelegate notifyChange:VLCLibraryModelRecentsMediaItemUpdated
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f2617f7ab25fe21ba15c93180adf6384865cc3f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f2617f7ab25fe21ba15c93180adf6384865cc3f
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