Mercurial > mplayer.hg
changeset 20497:8fb860996f8f
Fix width -> orig_width typo.
author | eugeni |
---|---|
date | Sun, 29 Oct 2006 13:59:36 +0000 |
parents | e375b17bb74a |
children | 1815baeb723d |
files | libass/ass_render.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_render.c Sun Oct 29 13:58:30 2006 +0000 +++ b/libass/ass_render.c Sun Oct 29 13:59:36 2006 +0000 @@ -2002,7 +2002,7 @@ frame_context.orig_height / frame_context.track->PlayResY; frame_context.border_scale = ((double)frame_context.orig_height) / frame_context.track->PlayResY; - if (frame_context.width * track->PlayResY == frame_context.height * track->PlayResX) + if (frame_context.orig_width * track->PlayResY == frame_context.orig_height * track->PlayResX) frame_context.font_scale_x = 1.; else frame_context.font_scale_x = ((double)(frame_context.orig_width * track->PlayResY)) / (frame_context.orig_height * track->PlayResX);