diff options
author | wm4 <wm4@nowhere> | 2012-11-25 23:32:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-25 23:40:07 +0100 |
commit | 5d5ddb2ad00a13e719585cefbbb59fa307fa2f73 (patch) | |
tree | 51c67ee2f25cefbd09bbcb4275e4a3d5ee7a74ac /core/cfg-mplayer.h | |
parent | 24bfa82a91a49b0e2a120b719a6b89ac2b1b415b (diff) | |
download | mpv-5d5ddb2ad00a13e719585cefbbb59fa307fa2f73.tar.bz2 mpv-5d5ddb2ad00a13e719585cefbbb59fa307fa2f73.tar.xz |
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.
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
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), |