diff options
author | wm4 <wm4@nowhere> | 2013-04-29 01:49:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-30 22:44:18 +0200 |
commit | 28116b8a799078b3c6b3b559ed4463669c79cf0e (patch) | |
tree | 43e78d552443e08d5250774c01a5da245cd2b50f /sub/osd_libass.c | |
parent | fd02f0f4d88371c728aff3b4487974118ba4d014 (diff) | |
download | mpv-28116b8a799078b3c6b3b559ed4463669c79cf0e.tar.bz2 mpv-28116b8a799078b3c6b3b559ed4463669c79cf0e.tar.xz |
sub: remove some global variables
Diffstat (limited to 'sub/osd_libass.c')
-rw-r--r-- | sub/osd_libass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd_libass.c b/sub/osd_libass.c index d8496c2f3b..6733b9b6c2 100644 --- a/sub/osd_libass.c +++ b/sub/osd_libass.c @@ -367,7 +367,7 @@ static void update_sub(struct osd_state *osd, struct osd_object *obj) mp_ass_set_style(style, &font); #if LIBASS_VERSION >= 0x01010000 - ass_set_line_position(osd->osd_render, 100 - sub_pos); + ass_set_line_position(osd->osd_render, 100 - opts->sub_pos); #endif char *escaped_text = mangle_ass(osd->sub_text); |