From d31a1e04f4dd6617c0d46c1c76e8efc6509ba9f1 Mon Sep 17 00:00:00 2001 From: mswitch Date: Sun, 12 Jan 2003 19:32:56 +0000 Subject: 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 --- libvo/vo_dxr3.c | 11 +++++++++-- 1 file 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 + * Copyright (C) 2002-2003 David Holm * */ /* 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; -- cgit v1.2.3