Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
bdb18949 by Claudio Cambra at 2023-02-18T00:49:40+00:00
macosx: Don't send nil as notification object for 
VLCLibraryModelVideoMediaListUpdated and VLCLibraryModelAudioMediaListUpdated 
in VLCLibraryModel's dropCaches

Signed-off-by: Claudio Cambra <[email protected]>

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -513,8 +513,8 @@ static void libraryCallback(void *p_data, const 
vlc_ml_event_t *p_event)
     _cachedArtists = nil;
     _cachedAudioMedia = nil;
 
-    [_defaultNotificationCenter 
postNotificationName:VLCLibraryModelVideoMediaListUpdated object:nil];
-    [_defaultNotificationCenter 
postNotificationName:VLCLibraryModelAudioMediaListUpdated object:nil];
+    [_defaultNotificationCenter 
postNotificationName:VLCLibraryModelVideoMediaListUpdated object:self];
+    [_defaultNotificationCenter 
postNotificationName:VLCLibraryModelAudioMediaListUpdated object:self];
 }
 
 @end



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to