summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-07 22:20:52 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-07 22:20:52 +0000
commit054f28e2d15a293bace0c41e40663a4d4c683606 (patch)
treea5e0fb983aaad0bd63338c97905919ae7ed790f2
parent1670e33e21546546774e6430da8d8ea4b3e675d2 (diff)
downloadmpv-054f28e2d15a293bace0c41e40663a4d4c683606.tar.bz2
mpv-054f28e2d15a293bace0c41e40663a4d4c683606.tar.xz
Calculate subtitle origin in floating point.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27438 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libass/ass_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index b4c9ae090f..bc746fd31d 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -150,7 +150,7 @@ typedef struct render_context_s {
EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects
} evt_type;
double pos_x, pos_y; // position
- int org_x, org_y; // origin
+ double org_x, org_y; // origin
char have_origin; // origin is explicitly defined; if 0, get_base_point() is used
double scale_x, scale_y;
double hspacing; // distance between letters, in pixels