diff options
author | 2006-10-29 13:59:36 +0000 | |
---|---|---|
committer | 2006-10-29 13:59:36 +0000 | |
commit | 7e9c778cf2dfdd76a538f1982f2f55c820e75876 (patch) | |
tree | e024fc3d96ce450e3594d5419fc5994223710bfe /libass/ass_render.c | |
parent | 572576eb67bd3856c821e58fc1978cf3f9ac7790 (diff) |
Fix width -> orig_width typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20513 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r-- | libass/ass_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index 20683eff96..73d3cfba27 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -2002,7 +2002,7 @@ static int ass_start_frame(ass_renderer_t *priv, ass_track_t* track, long long n 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); |