[vlc-commits] [Git][videolan/vlc][master] macosx: fix wrong thumbnails on fast scrolling in media source list

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Feb 17 21:30:26 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
99a1f742 by Serhii Bykov at 2026-02-17T21:30:06+00:00
macosx: fix wrong thumbnails on fast scrolling in media source list

- - - - -


1 changed file:

- modules/gui/macosx/library/media-source/VLCMediaSourceDataSource.m


Changes:

=====================================
modules/gui/macosx/library/media-source/VLCMediaSourceDataSource.m
=====================================
@@ -257,14 +257,9 @@ NSString * const VLCMediaSourceDataSourceNodeChanged = @"VLCMediaSourceDataSourc
     if ([tableColumn.identifier isEqualToString:@"VLCMediaSourceTableNameColumn"]) {
         VLCLibraryTableCellView * const cellView =
             [tableView makeViewWithIdentifier:VLCLibraryTableCellViewIdentifier owner:self];
-        [VLCLibraryImageCache thumbnailForInputItem:inputNode.inputItem
-                                     withCompletion:^(NSImage * _Nullable image) {
-            cellView.representedImageView.image = image;
-        }];
+        cellView.representedInputItem = inputNode.inputItem;
         cellView.primaryTitleTextField.hidden = YES;
         cellView.secondaryTitleTextField.hidden = YES;
-        cellView.singlePrimaryTitleTextField.hidden = NO;
-        cellView.singlePrimaryTitleTextField.stringValue = inputNode.inputItem.name;
         return cellView;
     }
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/99a1f7424d1151276febe95cdd9d00fd92766bb5
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