Index: vo_dfbmga.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v retrieving revision 1.11 diff -u -r1.11 vo_dfbmga.c --- vo_dfbmga.c 24 Apr 2003 18:52:16 -0000 1.11 +++ vo_dfbmga.c 16 Oct 2003 12:16:16 -0000 @@ -917,16 +917,20 @@ IDirectFBSurface *blitsrc = frame; if (use_bes) { +#if DIRECTFBVERSION > 915 if (vo_vsync && !flipping && !use_crtc2) bes->WaitForSync( bes ); +#endif besframe->Blit( besframe, blitsrc, NULL, 0, 0 ); blitsrc = besframe; } if (use_crtc2) { +#if DIRECTFBVERSION > 915 if (vo_vsync && !flipping) crtc2->WaitForSync( crtc2 ); +#endif if (stretch) c2frame->StretchBlit( c2frame, blitsrc, NULL, &drect ); @@ -998,7 +1002,7 @@ } blit_done = 0; - current_buf = 0;//vo_directrendering ? 0 : (current_buf + 1) % num_bufs; + current_buf = vo_directrendering ? 0 : (current_buf + 1) % num_bufs; } static void