# HG changeset patch # User iive # Date 1059487878 0 # Node ID 9d9db4e8fd1771e4c099d0ca03f04bfcad6a77af # Parent 17391ba6c53bcb91a7ccc4fb8b19891616c4e685 nvidia 44.96 hardlock machine without that fix diff -r 17391ba6c53b -r 9d9db4e8fd17 libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Tue Jul 29 02:29:58 2003 +0000 +++ b/libvo/vo_xvmc.c Tue Jul 29 14:11:18 2003 +0000 @@ -698,6 +698,11 @@ 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,