[vlc-commits] [Git][videolan/vlc][master] macosx: keep artwork placeholder when loading fails
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Jul 18 01:43:03 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
9ea51b7e by Serhii Bykov at 2026-07-18T03:13:41+02:00
macosx: keep artwork placeholder when loading fails
- - - - -
1 changed file:
- modules/gui/macosx/views/VLCImageView.m
Changes:
=====================================
modules/gui/macosx/views/VLCImageView.m
=====================================
@@ -178,7 +178,7 @@
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
NSImage * const downloadedImage = [[NSImage alloc] initWithContentsOfURL:artworkURL];
dispatch_async(dispatch_get_main_queue(), ^{
- self.image = downloadedImage;
+ self.image = downloadedImage ?: image;
});
});
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9ea51b7ea89b825161772212a7cadb98be4cecde
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9ea51b7ea89b825161772212a7cadb98be4cecde
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list