summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-25 16:48:01 +0100
committerwm4 <wm4@nowhere>2015-02-25 16:48:01 +0100
commiteb0db4d6fd58e2812b2464eb9c8b6317766e274f (patch)
tree91b4d300a4c7490ee68a32f442f1def318a6d2b2 /sub
parent9349cfca910990d1126b973fd2ca55cb2351d35f (diff)
downloadmpv-eb0db4d6fd58e2812b2464eb9c8b6317766e274f.tar.bz2
mpv-eb0db4d6fd58e2812b2464eb9c8b6317766e274f.tar.xz
sd_ass: replace a deprecated libass API call
Diffstat (limited to 'sub')
-rw-r--r--sub/sd_ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c
index 0ce0ce3c94..dc5a913435 100644
--- a/sub/sd_ass.c
+++ b/sub/sd_ass.c
@@ -211,7 +211,7 @@ static void get_bitmaps(struct sd *sd, struct mp_osd_res dim, double pts,
scale = par;
}
configure_ass(sd, &dim);
- ass_set_aspect_ratio(renderer, scale, 1);
+ ass_set_pixel_aspect(renderer, scale);
if (!ctx->is_converted && (!opts->ass_style_override ||
opts->ass_vsfilter_blur_compat))
{