* 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>
*
#include "intf_msg.h"
#include "main.h"
+#include "modules_export.h"
+
/*****************************************************************************
* vout_sys_t: video output framebuffer method descriptor
*****************************************************************************
*/
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 */
/* 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,
/* 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 );
}
*****************************************************************************/
static void FBSwitchDisplay(int i_signal)
{
+#if 0
vout_thread_t *p_vout;
vlc_mutex_lock( &p_vout_bank->lock );
}
vlc_mutex_unlock( &p_vout_bank->lock );
+#endif
}
/*****************************************************************************