[vlc-devel] [RFC PATCH 0/2] Expose the preparsed item type
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Thu Sep 10 15:17:57 CEST 2020
This is a small RFC of a change allowing the preparser (or the input in
general) to know what the actual input type is, regardless of its MRL.
The rational for this change is to allow the medialibrary to know that
it's preparsing a folder that's actually a DVD (or potentially any other
disc type) folder, and expose it as a disc rather than exposing all the
files it contains.
It could also allow for a better playlist detection, among other things
This might be a bit naive, and I'll gladly take hints on how implement
it in another way.
Hugo Beauzée-Luyssen (2):
vlc_stream: Allow fetching the underlying item type
dvdnav: Implement DEMUX_GET_TYPE
include/vlc_demux.h | 6 ++++++
include/vlc_stream.h | 1 +
modules/access/dvdnav.c | 6 ++++++
src/input/input.c | 8 ++++++++
4 files changed, 21 insertions(+)
--
2.20.1
More information about the vlc-devel
mailing list