[vlc-devel] [RFC PATCH 0/2] Expose the preparsed item type

Thomas Guillem thomas at gllm.fr
Thu Sep 10 16:29:05 CEST 2020


This set seems very OK to me.

WIll you do the same for bluray and dvdread?

On Thu, Sep 10, 2020, at 15:17, Hugo Beauzée-Luyssen wrote:
> 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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list