summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authormswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-12 19:32:56 +0000
committermswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-12 19:32:56 +0000
commitd31a1e04f4dd6617c0d46c1c76e8efc6509ba9f1 (patch)
tree3c8f1197d4ed7430f2c265be5ad8ce78d71d89b4 /libvo
parent3b982f0716e4676f2f3b5f893c91bd6e69099536 (diff)
downloadmpv-d31a1e04f4dd6617c0d46c1c76e8efc6509ba9f1.tar.bz2
mpv-d31a1e04f4dd6617c0d46c1c76e8efc6509ba9f1.tar.xz
Added patch from Tamas Kohegyi to fix subpic placement with freetype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8925 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dxr3.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index d2efe2a04c..fa1b38b29b 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -1,11 +1,14 @@
/*
* vo_dxr3.c - DXR3/H+ video out
*
- * Copyright (C) 2002 David Holm <dholm@iname.com>
+ * Copyright (C) 2002-2003 David Holm <david@realityrift.com>
*
*/
/* ChangeLog added 2002-01-10
+ * 2003-01-12:
+ * Added patch from Tamas Kohegyi to fix subpic placement with freetype.
+ *
* 2003-01-02:
* Added patch from Jens Axboe that makes vo_dxr3 return to previous TV norm
* after quiting.
@@ -527,7 +530,11 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
#ifdef SPU_SUPPORT
#ifdef HAVE_FREETYPE
- s_width*=1.5;
+ if (ioval == EM8300_ASPECTRATIO_16_9) {
+ s_width *= 1.5;
+ } else {
+ s_width *= 0.84;
+ }
#else
s_width*=2;
s_height*=2;