[vlc-devel] [PATCH 0/3] Fix directory subitems type

Thomas Guillem thomas at gllm.fr
Wed Nov 4 19:35:48 CET 2015


The first patch put back the support of subitems type when parsing a directory,
and without breaking directory FDs.

The second patch identify the type of the fd when creating a new item. That way
a fd can be preparsed if it's a local file.

The third patch adds a test that check directory FDs and subitems type support.

PS: I'll use a sem for the third patch.

Thomas Guillem (3):
  file: fix directory subitems type
  item: detect 'fd://' type at init
  test: add test_media_subitems

 modules/access/directory.c            |  77 +++++++++++++++++++-
 src/input/item.c                      |  23 ++++++
 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
 9 files changed, 229 insertions(+), 1 deletion(-)
 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