0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

backward compatibility patch by Ville

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11158 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-10-17 08:36:47 +00:00
parent 7393054b5d
commit e6bf2b355a

View File

@ -951,8 +951,10 @@ blit_to_screen( void )
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 @@ blit_to_screen( void )
}
if (use_crtc2) {
#if DIRECTFBVERSION > 915
if (vo_vsync && !flipping)
crtc2->WaitForSync( crtc2 );
#endif
if (stretch)
c2frame->StretchBlit( c2frame, blitsrc, srect, &c2rect );