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

Romain Vimont rom1v at videolabs.io
Mon Jul 9 12:13:51 CEST 2018


Changes from v3:
 - do not expose media tree Hold()/Release() in the VLC_API
 - change media tree listeners registration (expose
   AddListener()/RemoveListener() accepting a listener owned by the
   client)
 - use vlc_atomic_rc_t for refcounting
 - Update coding style for new files (no prefixes like pf_, spacing
   changes...)

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        |  93 ++++++++
 include/vlc_media_tree.h          | 145 ++++++++++++
 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                |  11 +
 src/media_source/media_source.c   | 276 ++++++++++++++++++++++
 src/media_source/media_source.h   |  46 ++++
 src/media_tree/media_tree.c       | 373 ++++++++++++++++++++++++++++++
 src/media_tree/media_tree.h       |  34 +++
 src/playlist/engine.c             |   6 +-
 src/playlist/playlist_internal.h  |   8 +-
 src/playlist/services_discovery.c | 277 +++++++++++-----------
 17 files changed, 1147 insertions(+), 152 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



More information about the vlc-devel mailing list