changeset 15074:aab0ddfabf3f

reload font on fullscreen change when panscan is enabled
author henry
date Sat, 09 Apr 2005 11:20:23 +0000
parents 28ba6bfcf2dc
children 737cc83784fb
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Apr 09 11:00:00 2005 +0000
+++ b/mplayer.c	Sat Apr 09 11:20:23 2005 +0000
@@ -3282,6 +3282,9 @@
       else
 #endif
 	if(video_out && vo_config_count) video_out->control(VOCTRL_FULLSCREEN, 0);
+     // reload font when panscan > 0 and font is proportional to video size
+     if (sh_video && (subtitle_autoscale == 2 || subtitle_autoscale == 3)
+	 && vo_panscan > 0) force_load_font = 1;
     } break;
     case MP_CMD_VO_ONTOP:
     {