[MPlayer-cvslog] r19537 - trunk/libvo/vo_vesa.c
ben
subversion at mplayerhq.hu
Fri Aug 25 21:52:00 CEST 2006
Author: ben
Date: Fri Aug 25 21:52:00 2006
New Revision: 19537
Modified:
trunk/libvo/vo_vesa.c
Log:
if double buffering is enabled, but vbeSetDisplayStart() fails, turn double buffering off (also adds support for VESA output under VMware).
Modified: trunk/libvo/vo_vesa.c
==============================================================================
--- trunk/libvo/vo_vesa.c (original)
+++ trunk/libvo/vo_vesa.c Fri Aug 25 21:52:00 2006
@@ -1022,7 +1022,12 @@
}
if(HAS_DGA() && vo_doublebuffering)
{
- for(i=0;i<MAX_BUFFERS;i++)
+ if (VBE_OK != vbeSetDisplayStart(0, vo_vsync))
+ {
+ mp_msg(MSGT_VO,MSGL_WARN, "[VO_VESA] Can't use double buffering: changing displays failed.\n");
+ multi_size = 1;
+ }
+ for(i=0;i<multi_size;i++)
{
win.ptr = dga_buffer = video_base + multi_buff[i];
clear_screen(); /* Clear screen for stupid BIOSes */
More information about the MPlayer-cvslog
mailing list