diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-27 14:25:36 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-27 14:25:36 +0000 |
commit | c67220c86fa6267d8e0aa5b69d0eebbe17e0ede2 (patch) | |
tree | b8e7d650db0b09986770f59af665319b048f38e7 /libmpcodecs/vf_vo.c | |
parent | 13156cd7946705c89ad04edba05c6434d1675e46 (diff) | |
download | mpv-c67220c86fa6267d8e0aa5b69d0eebbe17e0ede2.tar.bz2 mpv-c67220c86fa6267d8e0aa5b69d0eebbe17e0ede2.tar.xz |
Add -ass-hinting option for setting font hinting method.
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_vo.c')
-rw-r--r-- | libmpcodecs/vf_vo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index 9d320cf855..fc1ca92d42 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -60,14 +60,14 @@ static int config(struct vf_instance_s* vf, } // save vo's stride capability for the wanted colorspace: - vf->default_caps=query_format(vf,outfmt) & VFCAP_ACCEPT_STRIDE; + vf->default_caps=query_format(vf,outfmt); if(config_video_out(video_out,width,height,d_width,d_height,flags,"MPlayer",outfmt)) return 0; #ifdef USE_ASS if (vf->priv->ass_priv) - ass_configure(vf->priv->ass_priv, width, height); + ass_configure(vf->priv->ass_priv, width, height, !!(vf->default_caps & VFCAP_EOSD_UNSCALED)); #endif ++vo_config_count; |