comparison libvo/vo_gl.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 17bf4f4b0715
children 960434b7d963
comparison
equal deleted inserted replaced
23133:0574817cc6cb 23134:1de2a46a0987
790 { 790 {
791 int caps = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | 791 int caps = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW |
792 VFCAP_FLIP | 792 VFCAP_FLIP |
793 VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_ACCEPT_STRIDE; 793 VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_ACCEPT_STRIDE;
794 if (use_osd) 794 if (use_osd)
795 caps |= VFCAP_OSD | VFCAP_EOSD; 795 caps |= VFCAP_OSD | VFCAP_EOSD | VFCAP_EOSD_UNSCALED;
796 if ((format == IMGFMT_RGB24) || (format == IMGFMT_RGBA)) 796 if ((format == IMGFMT_RGB24) || (format == IMGFMT_RGBA))
797 return caps; 797 return caps;
798 if (use_yuv && format == IMGFMT_YV12) 798 if (use_yuv && format == IMGFMT_YV12)
799 return caps; 799 return caps;
800 // HACK, otherwise we get only b&w with some filters (e.g. -vf eq) 800 // HACK, otherwise we get only b&w with some filters (e.g. -vf eq)