Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
d226d830 by Claudio Cambra at 2023-01-10T04:57:24+00:00
macosx: Ensure directory input node is always cleared and regenerated freshly

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

- - - - -


1 changed file:

- modules/gui/macosx/media-source/VLCMediaSource.m


Changes:

=====================================
modules/gui/macosx/media-source/VLCMediaSource.m
=====================================
@@ -197,6 +197,7 @@ static const char *const localDevicesDescription = "My 
Machine";
         input_item_node_t *vlcInputNode = inputNode.vlcInputItemNode;
         NSURL *dirUrl = [NSURL URLWithString:inputNode.inputItem.MRL];
 
+        [self clearChildNodesForNode:vlcInputNode]; // Clear existing nodes, 
refresh
         [self generateChildNodesForDirectoryNode:vlcInputNode withUrl:dirUrl];
         return;
     }



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

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