]> git.sesse.net Git - vlc/blobdiff - plugins/fb/vout_fb.c
* Fixed the BeOS compile typo.
[vlc] / plugins / fb / vout_fb.c
index 3c6e1a8306746a6db77a030ec1b6459f2199cd22..8111a033a4f9fd92c773f1695a596473c12d0a5a 100644 (file)
@@ -2,7 +2,7 @@
  * vout_fb.c: framebuffer video output display method
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000, 2001 VideoLAN
- * $Id: vout_fb.c,v 1.11 2001/05/06 04:32:02 sam Exp $
+ * $Id: vout_fb.c,v 1.13 2001/05/30 17:03:12 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -57,6 +57,8 @@
 #include "intf_msg.h"
 #include "main.h"
 
+#include "modules_export.h"
+
 /*****************************************************************************
  * vout_sys_t: video output framebuffer method descriptor
  *****************************************************************************
@@ -334,7 +336,7 @@ static int vout_Manage( vout_thread_t *p_vout )
      */
     if( p_vout->i_changes & VOUT_SIZE_CHANGE )
     {
-        intf_WarnMsg( 1, "vout: reinitializing framebuffer screen" );
+        intf_WarnMsg( 3, "vout: reinitializing framebuffer screen" );
         p_vout->i_changes &= ~VOUT_SIZE_CHANGE;
 
         /* Destroy XImages to change their size */
@@ -459,7 +461,7 @@ static int FBOpenDisplay( vout_thread_t *p_vout )
 
     /* FIXME: if the image is full-size, it gets cropped on the left
      * because of the xres / xres_virtual slight difference */
-    intf_WarnMsg( 1, "vout: %ix%i (virtual %ix%i)",
+    intf_WarnMsg( 3, "vout: %ix%i (virtual %ix%i)",
                   p_vout->p_sys->var_info.xres,
                   p_vout->p_sys->var_info.yres,
                   p_vout->p_sys->var_info.xres_virtual,
@@ -563,17 +565,17 @@ static int FBOpenDisplay( vout_thread_t *p_vout )
     /* Set and initialize buffers */
     if( p_vout->p_sys->b_pan )
     {
-        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 );
     }
     else
     {
-        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 );
     }
     
-    intf_WarnMsg( 1, "framebuffer type=%d, visual=%d, ypanstep=%d, ywrap=%d, accel=%d",
+    intf_WarnMsg( 3, "framebuffer type=%d, visual=%d, ypanstep=%d, ywrap=%d, accel=%d",
                   fix_info.type, fix_info.visual, fix_info.ypanstep, fix_info.ywrapstep, fix_info.accel );
     return( 0 );
 }
@@ -608,6 +610,7 @@ static void FBCloseDisplay( vout_thread_t *p_vout )
  *****************************************************************************/
 static void FBSwitchDisplay(int i_signal)
 {
+#if 0
     vout_thread_t *p_vout;
 
     vlc_mutex_lock( &p_vout_bank->lock );
@@ -635,6 +638,7 @@ static void FBSwitchDisplay(int i_signal)
     }
 
     vlc_mutex_unlock( &p_vout_bank->lock );
+#endif
 }
 
 /*****************************************************************************