[Mplayer-cvslog] CVS: main/drivers tdfx_vid.c,1.4,1.5

Alban Bedel CVS albeu at mplayerhq.hu
Thu Mar 27 21:25:53 CET 2003


Update of /cvsroot/mplayer/main/drivers
In directory mail:/var/tmp.root/cvs-serv28788/drivers

Modified Files:
	tdfx_vid.c 
Log Message:
The overlay can't downscale


Index: tdfx_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/tdfx_vid.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- tdfx_vid.c	12 Mar 2003 14:58:55 -0000	1.4
+++ tdfx_vid.c	27 Mar 2003 20:25:32 -0000	1.5
@@ -586,12 +586,12 @@
   }
   // Setup the vidproc
   // H scaling
-  if(ov.src_width != ov.dst_width)
+  if(ov.src_width < ov.dst_width)
     vidcfg |= (1<<14);
   else
     vidcfg &= ~(1<<14);
   // V scaling
-  if(ov.src_height != ov.dst_height)
+  if(ov.src_height < ov.dst_height)
     vidcfg |= (1<<15);
   else
     vidcfg &= ~(1<<15);



More information about the MPlayer-cvslog mailing list