[vlc-commits] lib: privatize deprecated libvlc_media_list_add_file_content()

Rémi Denis-Courmont git at videolan.org
Sun Jul 15 14:16:32 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 12 19:32:52 2018 +0300| [f9d976a0dd46124d9c1d2207b97f52842c49ac59] | committer: Rémi Denis-Courmont

lib: privatize deprecated libvlc_media_list_add_file_content()

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

 include/vlc/deprecated.h  | 11 -----------
 lib/libvlc.sym            |  1 -
 lib/media_library.c       |  1 +
 lib/media_list_internal.h |  4 ++++
 4 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index 8edc226d29..bb7141f684 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -144,17 +144,6 @@ int libvlc_media_get_tracks_info( libvlc_media_t *p_md,
 /** @}*/
 
 /**
- * \ingroup libvlc libvlc_media_list
- * @{
- */
-
-LIBVLC_DEPRECATED int
-    libvlc_media_list_add_file_content( libvlc_media_list_t * p_ml,
-                                        const char * psz_uri );
-
-/** @}*/
-
-/**
  * \ingroup libvlc
  * \defgroup libvlc_playlist LibVLC playlist (legacy)
  * @deprecated Use @ref libvlc_media_list instead.
diff --git a/lib/libvlc.sym b/lib/libvlc.sym
index 9e98014cd7..74d188a05a 100644
--- a/lib/libvlc.sym
+++ b/lib/libvlc.sym
@@ -88,7 +88,6 @@ libvlc_media_library_media_list
 libvlc_media_library_new
 libvlc_media_library_release
 libvlc_media_library_retain
-libvlc_media_list_add_file_content
 libvlc_media_list_add_media
 libvlc_media_list_count
 libvlc_media_list_event_manager
diff --git a/lib/media_library.c b/lib/media_library.c
index d13a36ee2b..e0ef3cb7d2 100644
--- a/lib/media_library.c
+++ b/lib/media_library.c
@@ -31,6 +31,7 @@
 #include <vlc_common.h>
 
 #include "libvlc_internal.h"
+#include "media_list_internal.h"
 
 struct libvlc_media_library_t
 {
diff --git a/lib/media_list_internal.h b/lib/media_list_internal.h
index dd95703dc8..2e65d42ca7 100644
--- a/lib/media_list_internal.h
+++ b/lib/media_list_internal.h
@@ -65,4 +65,8 @@ int libvlc_media_list_internal_remove_index(
 
 void libvlc_media_list_internal_end_reached(
         libvlc_media_list_t * p_mlist );
+
+int libvlc_media_list_add_file_content( libvlc_media_list_t *p_ml,
+                                        const char *psz_uri );
+
 #endif



More information about the vlc-commits mailing list