summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
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 /libvo/vo_gl.c
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 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 1fb788e780..e71e482feb 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1116,7 +1116,7 @@ static int query_format(struct vo *vo, uint32_t format)
int caps = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_FLIP |
VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_ACCEPT_STRIDE;
if (p->use_osd)
- caps |= VFCAP_OSD | VFCAP_EOSD | (p->scaled_osd ? 0 : VFCAP_EOSD_UNSCALED);
+ caps |= VFCAP_OSD | VFCAP_EOSD;
if (format == IMGFMT_RGB24 || format == IMGFMT_RGBA)
return caps;
if (p->use_yuv && mp_get_chroma_shift(format, NULL, NULL, &depth) &&