nvidia 44.96 hardlock machine without that fix
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 29 Jul 2003 14:11:18 +0000 (14:11 +0000)
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 29 Jul 2003 14:11:18 +0000 (14:11 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@10500 b3059339-0415-0410-9bf9-f77b7e298cf2

libvo/vo_xvmc.c

index ef773be..86cf9d5 100644 (file)
@@ -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,