diff libmpcodecs/vd.c @ 5224:f992a01ecc0d

using -dr instead -vaa_dr
author alex
date Wed, 20 Mar 2002 15:39:08 +0000
parents abea2deab4d6
children 3e04fd1074d3
line wrap: on
line diff
--- a/libmpcodecs/vd.c	Wed Mar 20 15:38:13 2002 +0000
+++ b/libmpcodecs/vd.c	Wed Mar 20 15:39:08 2002 +0000
@@ -88,7 +88,7 @@
 };
 
 #include "libvo/video_out.h"
-extern int vaa_use_dr;
+extern int vo_directrendering;
 
 // libvo opts:
 int fullscreen=0;
@@ -286,7 +286,7 @@
 
 	// check libvo first!
 	vo_functions_t* vo=sh->video_out;
-	if(vo && vaa_use_dr) vo->control(VOCTRL_GET_IMAGE,mpi);
+	if(vo && vo_directrendering) vo->control(VOCTRL_GET_IMAGE,mpi);
 	
         if(!(mpi->flags&MP_IMGFLAG_DIRECT)){
           // non-direct and not yet allocaed image. allocate it!