]> git.sesse.net Git - vlc/commit
input: handle recursive parsing in preparser
authorThomas Guillem <thomas@gllm.fr>
Tue, 24 Mar 2015 16:22:19 +0000 (16:22 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Mar 2015 14:29:57 +0000 (15:29 +0100)
commit4455e6d2935a498e02ac3c6ac144f0525d2e01f0
treed7141109c8f6cd548f91752cc9621ec6ada275a8
parentb710e510b1dfea473a8bf258f609042cf070f915
input: handle recursive parsing in preparser

Add i_preparse_depth in input_item to handle how many level of sub items can be
parsed.

The "recursive" option is now moved from access/file to the playlist category.

You can now abort a long local directory opening.

NET items won't be parsed recursively since playlist_preparser_Push is not
called with the META_REQUEST_OPTION_SCOPE_NETWORK argument.

Fixes #13850
Fixes #11921
Fixes #13872

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_input_item.h
modules/access/directory.c
modules/access/fs.c
src/input/input.c
src/input/item.c
src/input/item.h
src/libvlc-module.c