[vlc-commits] media_tree: interact with the user

Thomas Guillem git at videolan.org
Thu Oct 17 15:31:15 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 17 10:23:28 2019 +0200| [15c26b36cc410fe0b8a0a6eb9f2950d27b72f8f3] | committer: Thomas Guillem

media_tree: interact with the user

This fixes credential dialogs that were not shown when browsing share from UIs.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15c26b36cc410fe0b8a0a6eb9f2950d27b72f8f3
---

 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 e83fc0afe4..031bd21515 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
 }



More information about the vlc-commits mailing list