[vlc-devel] [PATCH 0/5] input/url factor and moar tests
Thomas Guillem
thomas at gllm.fr
Thu Nov 5 12:09:07 CET 2015
The first 3 patches add vlc_uri2fd and input_stat2type that are used by
file/directory accesses and also by input_item in order to detect the item type
via an URI.
The 4th patch add input item type detection without HAVE_OPENAT.
I also improved the test_media_subitems check: I also test subitems parsing
with file:// dir:// stream:// URI.
Thomas Guillem (5):
url: add vlc_uri2fd
item: add input_stat2type
item: detect unknown item type via stat
filesystem: fill in input item type without HAVE_OPENAT
test: add test_media_subitems
include/vlc_input_item.h | 3 +
include/vlc_url.h | 1 +
modules/access/directory.c | 33 ++++++---
modules/access/file.c | 27 +------
src/input/item.c | 44 ++++++++++++
src/libvlccore.sym | 2 +
src/text/url.c | 48 +++++++++++++
test/libvlc/media.c | 130 +++++++++++++++++++++++++++++++++-
test/samples/subitems/directory/.keep | 0
test/samples/subitems/file.jpg | 0
test/samples/subitems/file.mkv | 0
test/samples/subitems/file.mp3 | 0
test/samples/subitems/file.png | 0
test/samples/subitems/file.ts | 0
14 files changed, 250 insertions(+), 38 deletions(-)
create mode 100644 test/samples/subitems/directory/.keep
create mode 100644 test/samples/subitems/file.jpg
create mode 100644 test/samples/subitems/file.mkv
create mode 100644 test/samples/subitems/file.mp3
create mode 100644 test/samples/subitems/file.png
create mode 100644 test/samples/subitems/file.ts
--
2.1.4
More information about the vlc-devel
mailing list