Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
11ef1436 by Steve Lhomme at 2023-05-04T08:46:23+00:00
macosx: fix metadata callback mapping

Since 8638652ac17825eb88894f973e79e4565199e472 the wrong callback was used.

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/macosx/library/VLCInputItem.m
=====================================
@@ -83,6 +83,7 @@ static void cb_preparse_ended(input_item_t *p_item, enum 
input_item_preparse_sta
 
 static const struct vlc_metadata_cbs preparseCallbacks = {
     cb_preparse_ended,
+    NULL,
     cb_subtree_added,
 };
 
@@ -625,7 +626,7 @@ static const struct vlc_metadata_cbs preparseCallbacks = {
     if (self.isStream) {
         return;
     }
-    
+
     NSURL *pathUrl = [NSURL URLWithString:self.path];
     if (pathUrl == nil) {
         return;
@@ -660,7 +661,7 @@ static const struct vlc_metadata_cbs preparseCallbacks = {
     self = [super init];
     if (self && p_inputNode != NULL) {
         _vlcInputItemNode = p_inputNode;
-        
+
         if (_vlcInputItemNode->p_item) {
             _inputItem = [[VLCInputItem alloc] 
initWithInputItem:_vlcInputItemNode->p_item];
         }



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to