[vlc-devel] [PATCH] media_tree: interact with the user

Thomas Guillem thomas at gllm.fr
Thu Oct 17 10:24:15 CEST 2019


This fixes credential dialogs that were not shown when browsing share from UIs.
---
 src/media_source/media_tree.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/media_source/media_tree.c b/src/media_source/media_tree.c
index e83fc0afe42..031bd21515c 100644
--- a/src/media_source/media_tree.c
+++ b/src/media_source/media_tree.c
@@ -329,7 +329,8 @@ vlc_media_tree_Preparse(vlc_media_tree_t *tree, libvlc_int_t *libvlc,
     VLC_UNUSED(input_preparser_callbacks);
 #else
     media->i_preparse_depth = 1;
-    vlc_MetadataRequest(libvlc, media, META_REQUEST_OPTION_SCOPE_ANY,
+    vlc_MetadataRequest(libvlc, media, META_REQUEST_OPTION_SCOPE_ANY |
+                        META_REQUEST_OPTION_DO_INTERACT,
                         &input_preparser_callbacks, tree, -1, NULL);
 #endif
 }
-- 
2.20.1



More information about the vlc-devel mailing list