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

reimar subversion at mplayerhq.hu
Mon Nov 9 16:17:06 CET 2009


Author: reimar
Date: Mon Nov  9 16:17:06 2009
New Revision: 29864

Log:
Fix compilation of teletext code without freetype support

Modified:
   trunk/libvo/sub.c

Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c	Mon Nov  9 16:11:54 2009	(r29863)
+++ trunk/libvo/sub.c	Mon Nov  9 16:17:06 2009	(r29864)
@@ -351,6 +351,7 @@ inline static void vo_update_text_telete
     hm=vo_font->height+1;
     wm=dxs*hm*max_rows/(dys*VBI_COLUMNS);
 
+#ifdef CONFIG_FREETYPE
     //very simple teletext font auto scaling
     if(!vo_osd_teletext_scale && hm*(max_rows+1)>dys){
         osd_font_scale_factor*=1.0*(dys)/((max_rows+1)*hm);
@@ -359,6 +360,7 @@ inline static void vo_update_text_telete
         obj->flags&=~OSDFLAG_VISIBLE;
         return;
     }
+#endif
 
     cols=dxs/wm;
     rows=dys/hm;


More information about the MPlayer-cvslog mailing list