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

Francois Cartegnie fcvlcdev at free.fr
Fri Jan 23 15:48:07 CET 2015


Le 22/01/2015 09:30, Thomas Guillem a écrit :
> 
> 
>>
>> 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,
> 

input_item ones are:
typedef enum input_item_meta_request_option_t
{
    META_REQUEST_OPTION_NONE          = 0x00,
    META_REQUEST_OPTION_SCOPE_LOCAL   = 0x01,
    META_REQUEST_OPTION_SCOPE_NETWORK = 0x02,
    META_REQUEST_OPTION_SCOPE_ANY     = 0x03
} input_item_meta_request_option_t;

typedef enum meta_fetcher_scope_t
{
    FETCHER_SCOPE_LOCAL   = 0x01,
    FETCHER_SCOPE_NETWORK = 0x02,
    FETCHER_SCOPE_ANY     = 0x03
} meta_fetcher_scope_t;

Fetch << 3 ?
Unsure if we need different behaviour.


Francois



More information about the vlc-devel mailing list