[vlc-devel] [PATCH 5/5] libvlc: add libvlc_media_parse_with_options

Thomas Guillem thomas at gllm.fr
Thu Jan 22 09:30:29 CET 2015



On Thu, Jan 22, 2015, at 00:09, Francois Cartegnie wrote:
> Le 20/01/2015 10:46, Thomas Guillem a écrit :
> > +    /**
> > +     * Parse media if it's a local file
> > +     */
> > +    libvlc_media_parse_local    = 0x00,
> > +    /**
> > +     * Parse media even if it's a network file
> > +     */
> > +    libvlc_media_parse_network  = 0x01,
> > +    /**
> > +     * Fetch meta and covert art using local resources
> > +     */
> > +    libvlc_media_fetch_local    = 0x02,
> > +    /**
> > +     * Fetch meta and covert art using network resources
> > +     */
> > +    libvlc_media_fetch_network  = 0x04,
> > +} libvlc_media_parse_flag_t;
> 
> Regarding scopes, art fetching / preparsing behaves differently: Network
> scope being additional to, and after local scope.

Ok, so maybe it should be something like
/**
 * Fetch meta and covert art using local and network resources
 */
 libvlc_media_fetch_network  = libvlc_media_fetch_local | 0x04,

no ?

> 
> 
> Francois
> _______________________________________________
> 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