[vlc-commits] media_tree: don't use any timeout when preparsing
Thomas Guillem
git at videolan.org
Fri Oct 25 14:24:54 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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
}
More information about the vlc-commits
mailing list