[MPlayer-cvslog] r29702 - trunk/libvo/sub.c

cehoyos subversion at mplayerhq.hu
Wed Sep 23 00:06:51 CEST 2009


Author: cehoyos
Date: Wed Sep 23 00:06:51 2009
New Revision: 29702

Log:
Fix teletext font autoscaling.

Patch by Francesco Lavra, francescolavra interfree it

Modified:
   trunk/libvo/sub.c

Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c	Tue Sep 22 16:38:49 2009	(r29701)
+++ trunk/libvo/sub.c	Wed Sep 23 00:06:51 2009	(r29702)
@@ -356,9 +356,9 @@ inline static void vo_update_text_telete
 
     //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;
     }


More information about the MPlayer-cvslog mailing list