[vlc-devel] commit: libvlc_media_list_player: privatize ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 23 11:44:03 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu May 21 23:18:53 2009 +0300| [c462bb532b799f5ca23471fd622db5142039097e] | committer: Rémi Denis-Courmont 

libvlc_media_list_player: privatize

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

 src/control/libvlc_internal.h   |   12 ------------
 src/control/media_list_player.c |   13 +++++++++++++
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/control/libvlc_internal.h b/src/control/libvlc_internal.h
index 67e8c28..417d38e 100644
--- a/src/control/libvlc_internal.h
+++ b/src/control/libvlc_internal.h
@@ -165,18 +165,6 @@ struct libvlc_media_player_t
     bool        b_own_its_input_thread;
 };
 
-struct libvlc_media_list_player_t
-{
-    libvlc_event_manager_t *    p_event_manager;
-    libvlc_instance_t *         p_libvlc_instance;
-    int                         i_refcount;
-    vlc_mutex_t                 object_lock;
-    libvlc_media_list_path_t    current_playing_item_path;
-    libvlc_media_t *            p_current_playing_item;
-    libvlc_media_list_t *       p_mlist;
-    libvlc_media_player_t *     p_mi;
-};
-
 struct libvlc_media_library_t
 {
     libvlc_event_manager_t * p_event_manager;
diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index 0f704bd..2981907 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -24,6 +24,19 @@
 #include <vlc/libvlc.h>
 #include "media_list_path.h"
 
+
+struct libvlc_media_list_player_t
+{
+    libvlc_event_manager_t *    p_event_manager;
+    libvlc_instance_t *         p_libvlc_instance;
+    int                         i_refcount;
+    vlc_mutex_t                 object_lock;
+    libvlc_media_list_path_t    current_playing_item_path;
+    libvlc_media_t *            p_current_playing_item;
+    libvlc_media_list_t *       p_mlist;
+    libvlc_media_player_t *     p_mi;
+};
+
 /*
  * Private functions
  */




More information about the vlc-devel mailing list