summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-04-12 18:11:12 +0300
committerUoti Urpala <uau@mplayer2.org>2011-04-12 18:11:28 +0300
commit7fe2856fd99fb9211634a3fbf611fb8c04232396 (patch)
treed30e47c92f581460fecb05db352ea88f6e935c89 /cfg-mplayer.h
parent511498818f3372a911ca142ab25f59bbb10d7e3f (diff)
downloadmpv-7fe2856fd99fb9211634a3fbf611fb8c04232396.tar.bz2
mpv-7fe2856fd99fb9211634a3fbf611fb8c04232396.tar.xz
OSD: support displaying fractional part of current position
Add option -osd-fractions which enables display of fractional seconds when showing the current playback time on OSD. Based on a patch from Christian <herr.mitterlehner@gsmpaaiml.com> but with several modifications.
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index e2a52ee637..3f30951e12 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -216,6 +216,7 @@ const m_option_t mplayer_opts[]={
#endif
OPT_INTRANGE("osdlevel", osd_level, 0, 0, 3),
OPT_INTRANGE("osd-duration", osd_duration, 0, 0, 3600000),
+ OPT_INTRANGE("osd-fractions", osd_fractions, 0, 0, 2),
#ifdef CONFIG_MENU
{"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
{"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},