[vlc-devel] [PATCH 4/7] libvlc: add libvlc_media_parse_with_options

Jean-Baptiste Kempf jb at videolan.org
Sat Jan 17 05:51:30 CET 2015


On 15 Jan, Thomas Guillem wrote :
> Extended version of libvlc_media_parse_async. It uses a flag to specify parse
> options and returns an int for error handling.
> ---
>  include/vlc/libvlc_media.h | 40 +++++++++++++++++++++--
>  lib/libvlc.sym             |  1 +
>  lib/media.c                | 79 +++++++++++++++++++++++++++++-----------------
>  3 files changed, 89 insertions(+), 31 deletions(-)
> 
> diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
> index d3fb9f5..74a3e92 100644
> --- a/include/vlc/libvlc_media.h
> +++ b/include/vlc/libvlc_media.h
> @@ -223,6 +223,12 @@ typedef struct libvlc_media_track_t
>  
>  } libvlc_media_track_t;
>  
> +typedef enum libvlc_media_parse_flag_t
> +{
> +    libvlc_media_fetch_art_local    = 0x01,
> +    libvlc_media_fetch_art_network  = 0x02,
> +    libvlc_media_parse_network      = 0x04,
> +} libvlc_media_parse_flag_t;
>  

art? Are you sure it only refers to art? (I'm quite sure it isn't).

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list