diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-29 14:11:18 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-29 14:11:18 +0000 |
commit | 3ad3bb2c31f89a323656554e095b16c1a11f752f (patch) | |
tree | 94b4d3dfebd89b852c0bf4665608699977e56102 | |
parent | c46b19bbe80cba813dfe86a695cfd9d27be42735 (diff) |
nvidia 44.96 hardlock machine without that fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10500 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_xvmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index ef773be0d4..86cf9d52a2 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -698,6 +698,11 @@ int rez; assert( rndr != NULL ); assert( rndr->magic == MP_XVMC_RENDER_MAGIC ); + if(rndr->p_past_surface != NULL) + xvmc_sync_surface(rndr->p_past_surface); + if(rndr->p_future_surface != NULL) + xvmc_sync_surface(rndr->p_future_surface); + rez = XvMCRenderSurface(mDisplay,&ctx,rndr->picture_structure, rndr->p_surface, rndr->p_past_surface, |