diff libvo/vo_dxr3.c @ 7151:9e17b153b785

- fix window handling with dxr3 - workaround dxr3 subpicture size with freetype osd rendering
author pontscho
date Thu, 29 Aug 2002 23:15:24 +0000
parents eca7dbad0166
children 5cac037fcdd3
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Thu Aug 29 22:24:49 2002 +0000
+++ b/libvo/vo_dxr3.c	Thu Aug 29 23:15:24 2002 +0000
@@ -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) {