[Mplayer-cvslog] CVS: main/libvo vo_dxr2.c,1.13,1.14
Alban Bedel CVS
albeu at mplayerhq.hu
Tue Nov 5 23:46:13 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv18132/libvo
Modified Files:
vo_dxr2.c
Log Message:
10L found by Mark <CompGuy284 at attbi dot com>
Index: vo_dxr2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr2.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vo_dxr2.c 2 Nov 2002 22:46:09 -0000 1.13
+++ vo_dxr2.c 5 Nov 2002 22:45:53 -0000 1.14
@@ -540,6 +540,7 @@
int p_len = strlen(p), name_len = strlen(name);
char cache_path[p_len + name_len + 2];
int ret;
+ int xc,yc,wc,hc;
FILE* fd;
sprintf(cache_path,"%s/%s",p,name);
@@ -562,12 +563,16 @@
&vga->hOffset,
&vga->vOffset,
&vga->ratio,
- &olx_cor,
- &oly_cor,
- &olw_cor,
- &olh_cor);
+ &xc,
+ &yc,
+ &wc,
+ &hc);
fclose(fd);
+ if(ret > 11 && !olx_cor) olx_cor = xc;
+ if(ret > 12 && !oly_cor) oly_cor = yc;
+ if(ret > 13 && !olw_cor) olw_cor = wc;
+ if(ret > 14 && !olh_cor) olh_cor = hc;
return ret >= 11 ? 1 : 0;
}
More information about the MPlayer-cvslog
mailing list