# HG changeset patch # User cehoyos # Date 1253657211 0 # Node ID 1331380992e27099d606277bcc05952856e9d932 # Parent ec016bdbae85a7202c21d872afc4ffdaec4ad92e Fix teletext font autoscaling. Patch by Francesco Lavra, francescolavra interfree it diff -r ec016bdbae85 -r 1331380992e2 libvo/sub.c --- 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; }