mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00: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:
parent
7393054b5d
commit
e6bf2b355a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user