]> git.sesse.net Git - vlc/blobdiff - plugins/dummy/vout_dummy.c
* Fixed the BeOS compile typo.
[vlc] / plugins / dummy / vout_dummy.c
index d76e015edfc4d274eab9c9342c79e07fe40054ef..8e4899fe522e72ca032d225aa5305679e84fbfb1 100644 (file)
@@ -2,6 +2,7 @@
  * vout_dummy.c: Dummy video output display method for testing purposes
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
+ * $Id: vout_dummy.c,v 1.8 2001/05/30 17:03:12 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -20,6 +21,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#define MODULE_NAME dummy
+#include "modules_inner.h"
+
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
 #include "threads.h"
 #include "mtime.h"
 #include "tests.h"
-#include "modules.h"
 
 #include "video.h"
 #include "video_output.h"
 
 #include "intf_msg.h"
 
+#include "modules.h"
+#include "modules_export.h"
+
 #define DUMMY_WIDTH 16
 #define DUMMY_HEIGHT 16
 #define DUMMY_BITS_PER_PLANE 16
@@ -75,7 +81,7 @@ static void vout_Display   ( struct vout_thread_s * );
  * Functions exported as capabilities. They are declared as static so that
  * we don't pollute the namespace too much.
  *****************************************************************************/
-void vout_getfunctions( function_list_t * p_function_list )
+void _M( vout_getfunctions )( function_list_t * p_function_list )
 {
     p_function_list->pf_probe = vout_Probe;
     p_function_list->functions.vout.pf_create     = vout_Create;
@@ -135,7 +141,7 @@ static int vout_Create( vout_thread_t *p_vout )
     }
 
     /* Set and initialize buffers */
-    vout_SetBuffers( p_vout, p_vout->p_sys->p_video,
+    p_vout->pf_setbuffers( p_vout, p_vout->p_sys->p_video,
                      p_vout->p_sys->p_video + p_vout->p_sys->i_page_size );
 
     return( 0 );