summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-03 17:00:37 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:31 +0200
commit8f8f6e6d9d27eef37640b363214a775647a0f2f4 (patch)
tree64c78eebb58a563ce8d6d02559dcff6e30520276 /libmpcodecs
parentcf61928eecd87ba29324e501a3e4a0efde25d874 (diff)
downloadmpv-8f8f6e6d9d27eef37640b363214a775647a0f2f4.tar.bz2
mpv-8f8f6e6d9d27eef37640b363214a775647a0f2f4.tar.xz
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 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_vo.c1
-rw-r--r--libmpcodecs/vfcap.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c
index 862cd63492..49668d4640 100644
--- a/libmpcodecs/vf_vo.c
+++ b/libmpcodecs/vf_vo.c
@@ -126,7 +126,6 @@ static int control(struct vf_instance *vf, int request, void *data)
return CONTROL_FALSE;
osd->normal_scale = 1;
osd->vsfilter_scale = vf->priv->scale_ratio;
- osd->unscaled = vf->default_caps & VFCAP_EOSD_UNSCALED;
struct sub_bitmaps images;
sub_get_bitmaps(osd, &images);
return vo_control(video_out, VOCTRL_DRAW_EOSD, &images) == VO_TRUE;
diff --git a/libmpcodecs/vfcap.h b/libmpcodecs/vfcap.h
index 0bb255b3cd..0fb73f5a51 100644
--- a/libmpcodecs/vfcap.h
+++ b/libmpcodecs/vfcap.h
@@ -42,8 +42,6 @@
#define VFCAP_POSTPROC 0x800
// filter can draw EOSD
#define VFCAP_EOSD 0x2000
-// filter will draw EOSD at screen resolution (without scaling)
-#define VFCAP_EOSD_UNSCALED 0x4000
// used by libvo and vf_vo, indicates the VO does not support draw_slice for this format
#define VOCAP_NOSLICES 0x8000
#define VFCAP_EOSD_FILTER 0x20000 // EOSD is drawn in filter chain