[Mplayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.12,1.13

Alex Beregszaszi alex at mplayerhq.hu
Fri Oct 17 10:37:31 CEST 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv7023

Modified Files:
	vo_dfbmga.c 
Log Message:
backward compatibility patch by Ville

Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vo_dfbmga.c	16 Oct 2003 12:18:12 -0000	1.12
+++ vo_dfbmga.c	17 Oct 2003 08:36:47 -0000	1.13
@@ -951,8 +951,10 @@
      DFBRectangle *srect = NULL;
 
      if (use_bes) {
+#if DIRECTFBVERSION > 915
           if (vo_vsync && !flipping && !use_crtc2)
                bes->WaitForSync( bes );
+#endif
 
           besframe->Blit( besframe, blitsrc, NULL, besrect.x, besrect.y );
           blitsrc = besframe;
@@ -960,8 +962,10 @@
      }
 
      if (use_crtc2) {
+#if DIRECTFBVERSION > 915
           if (vo_vsync && !flipping)
                crtc2->WaitForSync( crtc2 );
+#endif
 
      if (stretch)
                c2frame->StretchBlit( c2frame, blitsrc, srect, &c2rect );



More information about the MPlayer-cvslog mailing list