[vlc-commits] libvlc: deprecate libvlc_media_is_parsed
Thomas Guillem
git at videolan.org
Sun Apr 17 07:22:31 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sun Apr 17 08:14:31 2016 +0300| [363d9a073d466b6c7183147e8e19f72a110eab60] | committer: Thomas Guillem
libvlc: deprecate libvlc_media_is_parsed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=363d9a073d466b6c7183147e8e19f72a110eab60
---
include/vlc/libvlc_media.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 2f10ec3..12eedda 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -706,6 +706,9 @@ libvlc_media_parse_with_options( libvlc_media_t *p_md,
/**
* Return true is the media descriptor object is parsed
*
+ * \deprecated This can return true in case of failure.
+ * Use libvlc_media_get_parsed_status instead
+ *
* \see libvlc_MediaParsedChanged
*
* \param p_md media descriptor object
@@ -713,7 +716,7 @@ libvlc_media_parse_with_options( libvlc_media_t *p_md,
*
* \libvlc_return_bool
*/
-LIBVLC_API int
+LIBVLC_DEPRECATED LIBVLC_API int
libvlc_media_is_parsed( libvlc_media_t *p_md );
/**
More information about the vlc-commits
mailing list