[vlc-devel] [PATCH 00/10] Browsing API - take 2
Julien 'Lta' BALLET
elthariel at gmail.com
Mon Jun 16 14:41:02 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
Here's a second try on implementing a browsing API. I've been taking the simpler
approach suggested by Rémi this time :
- It adds a pf_readdir callback to access modules
- Adds support for it to stream_t and related API
- Adds support for it in record filter
The recursive browsing options of access/directory.c is still missing compared
to the original implementation. I'll implement it right away in a generic way in
demux/playlist/directory.c when i've an OK on this patchset.
Thank you in advance for any time you might use to review this contribution.
Regards,
Julien.
Julien 'Lta' BALLET (10):
Add pf_readdir callback to acces_t
Update ACCESS_SET_CALLBACKS call to match new parameter count
Add support for pf_readdir access callback in stream
Add stream_ReadDir to libvlccore.sym
Add playlist/directory.c dummy playlist module, whose job is to post
input_item_t returned by a directory access module (pf_readdir)
Make record stream filter forward pf_readdir calls
Move a usefull function of access/directory.c from Remi
Denis-Courmont to src/text/url.c
Remove xspf generation in access/directory.c in favor of new
pf_readdir callback
Add new directory 'playlist' module whose job is to feed the playlist
with the content of pf_readdir enabled access
Remove the unsupported recursive browsing options from
modules/access/fs.c
include/vlc_access.h | 20 ++-
include/vlc_stream.h | 9 +-
include/vlc_url.h | 1 +
modules/access/directory.c | 329 ++++++++-----------------------------
modules/access/dv.c | 2 +-
modules/access/eyetv.m | 2 +-
modules/access/fs.c | 14 --
modules/access/tcp.c | 2 +-
modules/access/udp.c | 2 +-
modules/access/zip/zipaccess.c | 2 +-
modules/demux/Makefile.am | 1 +
modules/demux/playlist/directory.c | 85 ++++++++++
modules/demux/playlist/playlist.c | 5 +
modules/demux/playlist/playlist.h | 4 +
modules/stream_filter/record.c | 10 ++
src/input/access.c | 1 +
src/input/stream.c | 68 ++++++--
src/libvlccore.sym | 2 +
src/text/url.c | 38 +++++
19 files changed, 298 insertions(+), 299 deletions(-)
create mode 100644 modules/demux/playlist/directory.c
--
1.9.3
More information about the vlc-devel
mailing list