Mercurial > mplayer.hg
changeset 19940:fb2063eaa445
Fix width -> orig_width typo causing subtitles to be too far to the right
for movies with vertical black bars (aspect < monitoraspect).
author | reimar |
---|---|
date | Fri, 22 Sep 2006 20:47:08 +0000 |
parents | 1eb8f5470cba |
children | 66d444e5ec8d |
files | libass/ass_render.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_render.c Fri Sep 22 20:26:12 2006 +0000 +++ b/libass/ass_render.c Fri Sep 22 20:47:08 2006 +0000 @@ -436,7 +436,7 @@ * \brief Mapping between script and screen coordinates */ static int x2scr(int x) { - return x*frame_context.width / frame_context.track->PlayResX + global_settings->left_margin; + return x*frame_context.orig_width / frame_context.track->PlayResX + global_settings->left_margin; } /** * \brief Mapping between script and screen coordinates