[vlc-devel] [PATCH v2 0/3] Media source and media tree

Romain Vimont rom1v at videolabs.io
Fri Jun 22 14:29:57 CEST 2018


Changes from v1:
 - replace custom type media_node_t by the existing input_item_node_t
   (and adapt API/implementation since input_item_node_t does not store
   a reference to its parent)
 - remove vlc_object_t from media_tree_t

Romain Vimont (3):
  Introduce media source and media tree API
  Update media tree on browsing/preparsing
  Use new media source API from the playlist

 include/vlc_media_source.h        |  85 +++++++
 include/vlc_media_tree.h          | 148 ++++++++++++
 include/vlc_playlist.h            |   6 +-
 include/vlc_services_discovery.h  |   2 +
 src/Makefile.am                   |   6 +
 src/input/services_discovery.c    |   1 +
 src/interface/interface.c         |   4 +-
 src/libvlc.c                      |   9 +
 src/libvlc.h                      |   2 +
 src/libvlccore.sym                |  13 +
 src/media_source/media_source.c   | 285 ++++++++++++++++++++++
 src/media_source/media_source.h   |  46 ++++
 src/media_tree/media_tree.c       | 382 ++++++++++++++++++++++++++++++
 src/media_tree/media_tree.h       |  30 +++
 src/playlist/engine.c             |   6 +-
 src/playlist/playlist_internal.h  |   8 +-
 src/playlist/services_discovery.c | 296 ++++++++++++-----------
 17 files changed, 1170 insertions(+), 159 deletions(-)
 create mode 100644 include/vlc_media_source.h
 create mode 100644 include/vlc_media_tree.h
 create mode 100644 src/media_source/media_source.c
 create mode 100644 src/media_source/media_source.h
 create mode 100644 src/media_tree/media_tree.c
 create mode 100644 src/media_tree/media_tree.h

-- 
2.18.0.rc2



More information about the vlc-devel mailing list