[vlc-commits] lib: deprecate libvlc_media_discoverer_localized_name

Thomas Guillem git at videolan.org
Fri Jun 10 14:39:12 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun 10 14:00:48 2016 +0200| [470fbb18de50ee352ca24aaf05b0052d391b9c73] | committer: Thomas Guillem

lib: deprecate libvlc_media_discoverer_localized_name

use libvlc_media_discoverer_list_get() instead.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=470fbb18de50ee352ca24aaf05b0052d391b9c73
---

 include/vlc/deprecated.h              |   12 ++++++++++++
 include/vlc/libvlc_media_discoverer.h |    9 ---------
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index c38e9c8..0a1277a 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -265,6 +265,18 @@ LIBVLC_DEPRECATED LIBVLC_API libvlc_media_discoverer_t *
 libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
                                        const char * psz_name );
 
+/**
+ * Get media service discover object its localized name.
+ *
+ * \deprecated Useless, use libvlc_media_discoverer_list_get() to get the
+ * longname of the service discovery.
+ *
+ * \param p_mdis media discover object
+ * \return localized name or NULL if the media_discoverer is not started
+ */
+LIBVLC_DEPRECATED LIBVLC_API char *
+libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis );
+
 /** @}*/
 
 /**
diff --git a/include/vlc/libvlc_media_discoverer.h b/include/vlc/libvlc_media_discoverer.h
index 6ed8746..6dd86f1 100644
--- a/include/vlc/libvlc_media_discoverer.h
+++ b/include/vlc/libvlc_media_discoverer.h
@@ -130,15 +130,6 @@ LIBVLC_API void
 libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis );
 
 /**
- * Get media service discover object its localized name.
- *
- * \param p_mdis media discover object
- * \return localized name or NULL if the media_discoverer is not started
- */
-LIBVLC_API char *
-libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis );
-
-/**
  * Get media service discover media list.
  *
  * \param p_mdis media service discover object



More information about the vlc-commits mailing list