[vlc-devel] [PATCH] media_tree: don't use any timeout when preparsing
Thomas Guillem
thomas at gllm.fr
Thu Oct 17 15:34:10 CEST 2019
You don't want to timeout when you request user credentials. Preparse should
only be canceled only by the user.
---
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 031bd21515c..90161d6fcda 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
}
--
2.20.1
More information about the vlc-devel
mailing list