mirror of https://github.com/mpv-player/mpv
Bugfix: wrong height value used in font size calculation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19616 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
135a1ac661
commit
9b39128d2e
|
@ -505,7 +505,7 @@ double ass_internal_font_size_coeff = 0.8;
|
|||
static void change_font_size(int sz)
|
||||
{
|
||||
double size = (double)sz * global_settings->font_size_coeff * ass_internal_font_size_coeff;
|
||||
size *= frame_context.height;
|
||||
size *= frame_context.orig_height;
|
||||
size /= frame_context.track->PlayResY;
|
||||
|
||||
if (size < 1)
|
||||
|
|
Loading…
Reference in New Issue