diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-09 22:25:33 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-09 22:25:33 +0000 |
commit | ce22162a078ea54731a6ebc74b79c24ace53b483 (patch) | |
tree | 57a562d7d876003892ca192011f2fcfc958d5e7f /libvo/sub.c | |
parent | b5e683f42d76ea482a334dc56582b63499917c75 (diff) | |
download | mpv-ce22162a078ea54731a6ebc74b79c24ace53b483.tar.bz2 mpv-ce22162a078ea54731a6ebc74b79c24ace53b483.tar.xz |
reload font on each change of the display size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15079 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.c')
-rw-r--r-- | libvo/sub.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index c645483925..655c4615d6 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -764,7 +764,10 @@ int vo_update_osd(int dxs,int dys){ #ifdef HAVE_FREETYPE // here is the right place to get screen dimensions - if (!vo_font || force_load_font) { + if (!vo_font + || force_load_font + || ((dxs != vo_image_width || dys != vo_image_height) + && (subtitle_autoscale == 2 || subtitle_autoscale == 3))) { force_load_font = 0; load_font_ft(dxs, dys); } |