[Mplayer-cvslog] CVS: 0_90/libvo vo_dxr3.c,1.116,1.117
Arpi of Ize
arpi at mplayerhq.hu
Mon Mar 10 16:57:20 CET 2003
Update of /cvsroot/mplayer/0_90/libvo
In directory mail:/var/tmp.root/cvs-serv14611
Modified Files:
vo_dxr3.c
Log Message:
backport: fix subpic placement.
Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libvo/vo_dxr3.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- vo_dxr3.c 12 Jan 2003 19:32:56 -0000 1.116
+++ vo_dxr3.c 10 Mar 2003 15:57:17 -0000 1.117
@@ -6,6 +6,9 @@
*/
/* ChangeLog added 2002-01-10
+ * 2003-02-19:
+ * Yet another patch from Tamas Kohegyi to fix subpic placement.
+ *
* 2003-01-12:
* Added patch from Tamas Kohegyi to fix subpic placement with freetype.
*
@@ -531,10 +534,11 @@
#ifdef SPU_SUPPORT
#ifdef HAVE_FREETYPE
if (ioval == EM8300_ASPECTRATIO_16_9) {
- s_width *= 1.5;
+ s_width *= d_height*1.78/s_height*(d_width*1.0/d_height)/2.35;
} else {
s_width *= 0.84;
}
+ //printf("VO: [dxr3] sw/sh:dw/dh ->%i,%i,%i,%i\n",s_width,s_height,d_width,d_height);
#else
s_width*=2;
s_height*=2;
More information about the MPlayer-cvslog
mailing list