changeset 32738:abcf963fbd2c

Force subtitles to be redrawn on sub_scale change. Fixes bug #1862.
author reimar
date Thu, 27 Jan 2011 20:51:11 +0000
parents ce0b4f3bb12d
children 53e29c645d4e
files command.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Thu Jan 27 20:39:01 2011 +0000
+++ b/command.c	Thu Jan 27 20:51:11 2011 +0000
@@ -1940,6 +1940,7 @@
 #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 @@
               (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