[vlc-commits] libvlc: deprecate libvlc_media_parse_async
Thomas Guillem
git at videolan.org
Sun Apr 17 07:22:32 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 14 14:27:15 2016 +0200| [2eb8b6bb6db21618e6130fff3bb410eac77a2188] | committer: Thomas Guillem
libvlc: deprecate libvlc_media_parse_async
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2eb8b6bb6db21618e6130fff3bb410eac77a2188
---
include/vlc/libvlc_media.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 12eedda..4ec17a1 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -664,6 +664,10 @@ libvlc_media_parse( libvlc_media_t *p_md );
* event. However if the media was already parsed you will not receive this
* event.
*
+ * \deprecated You can't be sure to receive the libvlc_MediaParsedChanged
+ * event (you can wait indefinitely for this event).
+ * Use libvlc_media_parse_with_options instead
+ *
* \see libvlc_media_parse
* \see libvlc_MediaParsedChanged
* \see libvlc_media_get_meta
@@ -671,7 +675,7 @@ libvlc_media_parse( libvlc_media_t *p_md );
*
* \param p_md media descriptor object
*/
-LIBVLC_API void
+LIBVLC_DEPRECATED LIBVLC_API void
libvlc_media_parse_async( libvlc_media_t *p_md );
/**
More information about the vlc-commits
mailing list