[MPlayer-cvslog] r32825 - trunk/command.c

reimar subversion at mplayerhq.hu
Thu Jan 27 21:51:12 CET 2011


Author: reimar
Date: Thu Jan 27 21:51:11 2011
New Revision: 32825

Log:
Force subtitles to be redrawn on sub_scale change.
Fixes bug #1862.

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Thu Jan 27 21:39:01 2011	(r32824)
+++ trunk/command.c	Thu Jan 27 21:51:11 2011	(r32825)
@@ -1940,6 +1940,7 @@ static int mp_property_sub_scale(m_optio
 #endif
             text_font_scale_factor = *(float *) arg;
             force_load_font = 1;
+            vo_osd_changed(OSDTYPE_SUBTITLE);
             return M_PROPERTY_OK;
         case M_PROPERTY_STEP_UP:
         case M_PROPERTY_STEP_DOWN:
@@ -1955,6 +1956,7 @@ static int mp_property_sub_scale(m_optio
               (action == M_PROPERTY_STEP_UP ? 1.0 : -1.0);
             M_PROPERTY_CLAMP(prop, text_font_scale_factor);
             force_load_font = 1;
+            vo_osd_changed(OSDTYPE_SUBTITLE);
             return M_PROPERTY_OK;
         default:
 #ifdef CONFIG_ASS


More information about the MPlayer-cvslog mailing list