Mercurial > mplayer.hg
diff libmpcodecs/vf_vo.c @ 23134:1de2a46a0987
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.
author | eugeni |
---|---|
date | Fri, 27 Apr 2007 14:25:36 +0000 |
parents | d0b60d14d8d7 |
children | e82ecde2cbd4 |
line wrap: on
line diff
--- a/libmpcodecs/vf_vo.c Fri Apr 27 14:18:44 2007 +0000 +++ b/libmpcodecs/vf_vo.c Fri Apr 27 14:25:36 2007 +0000 @@ -60,14 +60,14 @@ } // 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;