Mercurial > mplayer.hg
changeset 29660:1331380992e2
Fix teletext font autoscaling.
Patch by Francesco Lavra, francescolavra interfree it
author | cehoyos |
---|---|
date | Tue, 22 Sep 2009 22:06:51 +0000 |
parents | ec016bdbae85 |
children | 6e5bf32db9ff |
files | libvo/sub.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/sub.c Tue Sep 22 14:38:49 2009 +0000 +++ b/libvo/sub.c Tue Sep 22 22:06:51 2009 +0000 @@ -356,9 +356,9 @@ //very simple teletext font auto scaling if(!vo_osd_teletext_scale && hm*(max_rows+1)>dys){ - text_font_scale_factor*=1.0*(dys)/((max_rows+1)*hm); + osd_font_scale_factor*=1.0*(dys)/((max_rows+1)*hm); force_load_font=1; - vo_osd_teletext_scale=text_font_scale_factor; + vo_osd_teletext_scale=osd_font_scale_factor; obj->flags&=~OSDFLAG_VISIBLE; return; }