[vlc-devel] [PATCH 0/2] Fix folder opening regression

Thomas Guillem thomas at gllm.fr
Thu Mar 19 18:06:27 CET 2015


Hello,

Two patches, one that revert the automatic preparsing of directories, and one
other that allow to preparse every type of file by using an extra argument.

The preparsing is forced for the following case:
 - from libvlc (libvlc_MetaRequest)
 - items opened from arguments, or open menus (playlist_AddInput)

All items that are added from an access (input_item_node_AppendItem) won't be
preparsed.

For #13872, it's fixed, but we should remove recursive handling in access/fs.c
and access/directory.c and handle it in playlist preparser. If we have a
--recursive option, we force the preparsing of all children by adding a
b_force_preparse option in input_item_node_AppendItem. I propose to do it if
you agree.

Thomas Guillem.

Thomas Guillem (2):
  Revert "preparser: pass meta request options to Preparse"
  preparser: add an option to force preparsing

 src/libvlc.c             |  2 +-
 src/playlist/item.c      | 11 ++++++-----
 src/playlist/preparser.c | 35 +++++++++++++----------------------
 src/playlist/preparser.h |  3 ++-
 4 files changed, 22 insertions(+), 29 deletions(-)

-- 
2.1.3




More information about the vlc-devel mailing list