vlc | branch: master | Thomas Guillem <[email protected]> | Thu Oct 17 15:33:15 
2019 +0200| [2ff67a9fa83850aa7e54e7d5af5deb36bc9c0afe] | committer: Thomas 
Guillem

media_tree: don't use any timeout when preparsing

You don't want to timeout when you request user credentials. Preparse should
only be canceled only by the user.

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

 src/media_source/media_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/media_source/media_tree.c b/src/media_source/media_tree.c
index 031bd21515..90161d6fcd 100644
--- a/src/media_source/media_tree.c
+++ b/src/media_source/media_tree.c
@@ -331,6 +331,6 @@ vlc_media_tree_Preparse(vlc_media_tree_t *tree, 
libvlc_int_t *libvlc,
     media->i_preparse_depth = 1;
     vlc_MetadataRequest(libvlc, media, META_REQUEST_OPTION_SCOPE_ANY |
                         META_REQUEST_OPTION_DO_INTERACT,
-                        &input_preparser_callbacks, tree, -1, NULL);
+                        &input_preparser_callbacks, tree, 0, NULL);
 #endif
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to