path: root/sub/sd_ass.c
diff options
authorwm4 <wm4@nowhere>2012-10-03 17:00:37 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:31 +0200
commit8f8f6e6d9d27eef37640b363214a775647a0f2f4 (patch)
tree64c78eebb58a563ce8d6d02559dcff6e30520276 /sub/sd_ass.c
parentcf61928eecd87ba29324e501a3e4a0efde25d874 (diff)
sub: remove logic for disabling hinting on scaled EOSD
This was an extremely obscure setting, as it was used only with vo_gl if its scaled-osd suboption was used. If you really want this, you can set the desired ass-hinting value directly, and there will be literally no loss in functionality. Note that this didn't actually test whether the EOSD was scaled. Basically, it only checked whether vo_gl had the scaled-osd suboption set.
Diffstat (limited to 'sub/sd_ass.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c
index 478b1c96a9..8b8ad6c0eb 100644
--- a/sub/sd_ass.c
+++ b/sub/sd_ass.c
@@ -139,7 +139,7 @@ static void get_bitmaps(struct sh_sub *sh, struct osd_state *osd,
if (ctx->vsfilter_aspect && opts->ass_vsfilter_aspect_compat)
scale = osd->vsfilter_scale;
ASS_Renderer *renderer = osd->ass_renderer;
- mp_ass_configure(renderer, opts, &osd->dim, osd->unscaled);
+ mp_ass_configure(renderer, opts, &osd->dim);
ass_set_aspect_ratio(renderer, scale, 1);
mp_ass_render_frame(renderer, ctx->ass_track, osd->sub_pts * 1000 + .5,
&ctx->parts, res);