diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-17 08:36:47 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-17 08:36:47 +0000 |
commit | e6bf2b355a0125b5d0be7b26f5a864f5b5166ef7 (patch) | |
tree | d96ea317193366ba4d0e4b0856d65f574f9e5bc7 /libvo/vo_dfbmga.c | |
parent | 7393054b5db73f312a2d6f3f2b3cee1bf6538243 (diff) | |
download | mpv-e6bf2b355a0125b5d0be7b26f5a864f5b5166ef7.tar.bz2 mpv-e6bf2b355a0125b5d0be7b26f5a864f5b5166ef7.tar.xz |
backward compatibility patch by Ville
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11158 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dfbmga.c')
-rw-r--r-- | libvo/vo_dfbmga.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c index b6d60930be..c4efa8d190 100644 --- a/libvo/vo_dfbmga.c +++ b/libvo/vo_dfbmga.c @@ -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 ); |