[vlc-devel] [PATCH 0/8] Refactor browsing
Thomas Guillem
thomas at gllm.fr
Thu May 7 12:10:24 CEST 2015
The first patch refactor pf_readdir, it now behaves more like the readdir_r()
posix function.
The goal is to move the management of the input_item_node_t from all accesses
to the directory demux only.
This allows to handle directory options in demux directory. Options like
directory-sort, ignore-filetypes, and a new one show-hiddenfiles.
I also did a big clean up of the access directory, indeed, there was a lot of
unused code since it doesn't handle recursivity anymore.
Regards,
Thomas.
Thomas Guillem (8):
access: refactor pf_readdir
access: extend STREAM_IS_DIRECTORY
upnp: items are already sorted
move directory-sort option from directory access to directory demux
move ignore-filetypes option from directory access to directory demux
access/directory: remove recursive code
demux/directory: add show-hiddenfiles option
sftp: fix crash when no directory is specified
include/vlc_access.h | 10 +-
include/vlc_input_item.h | 9 +
include/vlc_stream.h | 8 +-
modules/access/archive/stream.c | 10 +-
modules/access/directory.c | 360 +++++-------------------------------
modules/access/dsm/access.c | 127 ++++++-------
modules/access/file.c | 6 +-
modules/access/fs.c | 21 ---
modules/access/fs.h | 4 +-
modules/access/ftp.c | 28 ++-
modules/access/sftp.c | 45 ++---
modules/demux/playlist/directory.c | 152 +++++++++++++--
modules/services_discovery/upnp.cpp | 107 +++++++----
modules/services_discovery/upnp.hpp | 16 +-
src/input/demux.c | 6 +-
src/input/item.c | 45 ++++-
src/input/stream.c | 20 +-
src/input/stream_filter.c | 4 +-
src/libvlc-module.c | 30 +++
src/libvlccore.sym | 1 +
20 files changed, 479 insertions(+), 530 deletions(-)
--
2.1.4
More information about the vlc-devel
mailing list