diff options
author | wm4 <wm4@nowhere> | 2013-02-14 20:43:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-14 20:45:44 +0100 |
commit | e8181ed9fb9ea49e7def7a0a806b9d516a41168a (patch) | |
tree | 2a1d0676ff363cd4364251e4b052e9103a3e0998 /core/cfg-mplayer.h | |
parent | e4d52330affa61457e0b2676c3730110a8ebaa1d (diff) | |
download | mpv-e8181ed9fb9ea49e7def7a0a806b9d516a41168a.tar.bz2 mpv-e8181ed9fb9ea49e7def7a0a806b9d516a41168a.tar.xz |
osd: add --osd-bar-align-x/y options to control OSD bar position
Diffstat (limited to 'core/cfg-mplayer.h')
-rw-r--r-- | core/cfg-mplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 1c0f269e90..1bc01f5230 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -499,6 +499,8 @@ const m_option_t common_opts[] = { OPT_INTRANGE("ass-hinting", ass_hinting, 0, 0, 7), OPT_CHOICE("ass-style-override", ass_style_override, 0, ({"no", 0}, {"yes", 1})), + OPT_FLOATRANGE("osd-bar-align-x", osd_bar_align_x, 0, -1.0, +1.0), + OPT_FLOATRANGE("osd-bar-align-y", osd_bar_align_y, 0, -1.0, +1.0), OPT_GENERAL("osd", osd_style, M_OPT_PREFIXED, .type = &m_option_type_subconfig_struct, .priv = (void*)&osd_style_conf), |