]> git.sesse.net Git - vlc/commitdiff
Do not use private VLM function (fixed in an ugly way). It should fix build
authorLaurent Aimar <fenrir@videolan.org>
Fri, 2 Mar 2007 19:03:52 +0000 (19:03 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 2 Mar 2007 19:03:52 +0000 (19:03 +0000)
of libvlc-control (what's that ?).
 It will need to be rewritten when VLM API is fixed.

src/control/vlm.c

index f23b2f2b7672eee8b2b701a5de26ad3d3519c4c5..ae15bf3db63913e455a1cffbd4a8b8ca1217703d 100644 (file)
@@ -37,6 +37,13 @@ static void InitVLM( libvlc_instance_t *p_instance )
 #endif
 }
 
+/* XXX this code has to be rewritten, disable it for now */
+#define vlm_MediaNew( a, b, c) (NULL)
+#define vlm_MediaDelete(a,b,c)
+#define vlm_MediaSetup(a,b,c,d) (-1)
+#define vlm_MediaControl(a,b,c,d,e) (-1)
+#define vlm_MediaSearch(a,b) (NULL)
+
 #define CHECK_VLM { if( !p_instance->p_vlm ) InitVLM( p_instance ); \
                     if( !p_instance->p_vlm ) {\
                   libvlc_exception_raise( p_exception, \