summaryrefslogtreecommitdiffstats
path: root/sub/osd_libass.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_libass.c')
-rw-r--r--sub/osd_libass.c2
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);