vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Wed Oct 12 14:00:07 2016 +0200| [f63fcbdd6fc0567644238acd9991c3eb8cb9f9ad] | committer: Thomas Guillem
libvlc: libvlc_media_parse() is now deprecated > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f63fcbdd6fc0567644238acd9991c3eb8cb9f9ad --- include/vlc/deprecated.h | 18 ++++++++++++++++++ include/vlc/libvlc_media.h | 15 --------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h index 5a65043..1a309e5 100644 --- a/include/vlc/deprecated.h +++ b/include/vlc/deprecated.h @@ -185,6 +185,24 @@ LIBVLC_API void libvlc_audio_output_set_device_type( libvlc_media_player_t *, * Parse a media. * * This fetches (local) art, meta data and tracks information. + * The method is synchronous. + * + * \deprecated This function could block indefinitely. + * Use libvlc_media_parse_with_options() instead + * + * \see libvlc_media_parse_with_options + * \see libvlc_media_get_meta + * \see libvlc_media_get_tracks_info + * + * \param p_md media descriptor object + */ +LIBVLC_DEPRECATED LIBVLC_API void +libvlc_media_parse( libvlc_media_t *p_md ); + +/** + * Parse a media. + * + * This fetches (local) art, meta data and tracks information. * The method is the asynchronous of libvlc_media_parse(). * * To track when this is over you can listen to libvlc_MediaParsedChanged diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h index 15933c5..0734610 100644 --- a/include/vlc/libvlc_media.h +++ b/include/vlc/libvlc_media.h @@ -635,21 +635,6 @@ LIBVLC_API libvlc_time_t libvlc_media_get_duration( libvlc_media_t *p_md ); /** - * Parse a media. - * - * This fetches (local) art, meta data and tracks information. - * The method is synchronous. - * - * \see libvlc_media_parse_with_options - * \see libvlc_media_get_meta - * \see libvlc_media_get_tracks_info - * - * \param p_md media descriptor object - */ -LIBVLC_API void -libvlc_media_parse( libvlc_media_t *p_md ); - -/** * Parse the media asynchronously with options. * * This fetches (local or network) art, meta data and/or tracks information. _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits