[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.96,1.97
Zoltan Ponekker
pontscho at mplayerhq.hu
Fri Aug 30 01:15:27 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv8716/libvo
Modified Files:
vo_dxr3.c
Log Message:
- fix window handling with dxr3
- workaround dxr3 subpicture size with freetype osd rendering
Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- vo_dxr3.c 28 Aug 2002 21:32:32 -0000 1.96
+++ vo_dxr3.c 29 Aug 2002 23:15:24 -0000 1.97
@@ -323,8 +323,12 @@
ioctl(fd_control, EM8300_IOCTL_SET_ASPECTRATIO, &ioval);
#ifdef SPU_SUPPORT
+#ifdef HAVE_FREETYPE
+ s_width*=1.5;
+#else
s_width*=2;
s_height*=2;
+#endif
osdpicbuf = calloc( 1,s_width * s_height);
if (osdpicbuf == NULL) {
More information about the MPlayer-cvslog
mailing list