changeset 10499:9d9db4e8fd17

nvidia 44.96 hardlock machine without that fix
author iive
date Tue, 29 Jul 2003 14:11:18 +0000
parents 17391ba6c53b
children d782d14dbec5
files libvo/vo_xvmc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,