summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-28 17:17:16 +0100
committerwm4 <wm4@nowhere>2013-01-13 20:04:16 +0100
commitc15cc15415d76e1a74b3f4a3087b9c208195cc2a (patch)
tree4fa0fecdba91364d6247c44537be986b70755ef9 /core
parent6b91ba01924e9d2c85b2d031ea9e414dbc8dea6f (diff)
downloadmpv-c15cc15415d76e1a74b3f4a3087b9c208195cc2a.tar.bz2
mpv-c15cc15415d76e1a74b3f4a3087b9c208195cc2a.tar.xz
sub: add experimental --force-rgba-osd-rendering switch
Diffstat (limited to 'core')
-rw-r--r--core/cfg-mplayer.h1
-rw-r--r--core/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 0aef77ae70..8ef7e9abdd 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -610,6 +610,7 @@ const m_option_t mplayer_opts[]={
{"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1.0, NULL},
OPT_FLOATRANGE("panscanrange", vo_panscanrange, 0, -19.0, 99.0),
+ OPT_MAKE_FLAGS("force-rgba-osd-rendering", vo_force_rgba_osd, 0),
OPT_CHOICE("colormatrix", requested_colorspace, 0,
({"auto", MP_CSP_AUTO},
{"BT.601", MP_CSP_BT_601},
diff --git a/core/options.h b/core/options.h
index 9accec1f0a..5e9fff1c27 100644
--- a/core/options.h
+++ b/core/options.h
@@ -29,6 +29,7 @@ typedef struct MPOpts {
int fullscreen;
int vo_dbpp;
float vo_panscanrange;
+ int vo_force_rgba_osd;
int requested_colorspace;
int requested_input_range;
int requested_output_range;