[Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.39,1.40

Arpi of Ize arpi at mplayer.dev.hu
Mon Mar 25 17:22:17 CET 2002


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

Modified Files:
	mga_vid.c 
Log Message:
no native support for I420 in G200

Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/mga_vid.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- mga_vid.c	10 Mar 2002 03:35:27 -0000	1.39
+++ mga_vid.c	25 Mar 2002 16:22:15 -0000	1.40
@@ -792,7 +792,7 @@
 	else 
 		baseadrofs = (((ofstop*regs.besviscal)/2)>>16)*regs.bespitch;
 
-    if(config->format==MGA_VID_FORMAT_YV12){
+    if(config->format==MGA_VID_FORMAT_YV12 || !is_g400){
 	regs.besa1corg = (uint32_t) mga_src_base + baseadrofs + regs.bespitch * sh ;
 	regs.besa2corg = (uint32_t) mga_src_base + baseadrofs + 1*frame_size + regs.bespitch * sh;
 	regs.besb1corg = (uint32_t) mga_src_base + baseadrofs + 2*frame_size + regs.bespitch * sh;




More information about the MPlayer-cvslog mailing list