From 5d5ddb2ad00a13e719585cefbbb59fa307fa2f73 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 25 Nov 2012 23:32:35 +0100 Subject: sub: add --sub-gray option to display image subs in grayscale MPlayer/mplayer2 still show DVD subtitles in gray. Depending on who you ask, this can be considered a bug or a feature. Include rendering in gray as explicit feature, so the user can decide what is better. This affects all indexed sub bitmaps entering the OSD rendering path. Currently, this means all image subs are affected by this option, but nothing else. --- core/cfg-mplayer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/cfg-mplayer.h') diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index ded7245f83..23b937f91a 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -507,6 +507,7 @@ const m_option_t common_opts[] = { M_CHOICES(({"exact", 0}, {"fuzzy", 1}, {"all", 2}))}, {"sub-pos", &sub_pos, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, OPT_FLOATRANGE("sub-gauss", sub_gauss, 0, 0.0, 3.0), + OPT_MAKE_FLAGS("sub-gray", sub_gray, 0), OPT_MAKE_FLAGS("ass", ass_enabled, 0), OPT_FLOATRANGE("sub-scale", sub_scale, 0, 0, 100), OPT_FLOATRANGE("ass-line-spacing", ass_line_spacing, 0, -1000, 1000), -- cgit v1.2.3