From 7fe2856fd99fb9211634a3fbf611fb8c04232396 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 12 Apr 2011 18:11:12 +0300 Subject: 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 but with several modifications. --- cfg-mplayer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cfg-mplayer.h') 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}, -- cgit v1.2.3 From cb61c0f2d4c7a7deb84ed4db6a41c2c6bdd1a055 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 9 Mar 2011 23:03:54 +0000 Subject: options: add -gamma (was only accessible from slave mode before) Patch by Kevin DeKorte, kdekorte at gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33064 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 3f30951e12..216d244371 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -189,6 +189,7 @@ const m_option_t mplayer_opts[]={ OPT_INTRANGE("saturation", vo_gamma_saturation, 0, -100, 100), OPT_INTRANGE("contrast", vo_gamma_contrast, 0, -100, 100), OPT_INTRANGE("hue", vo_gamma_hue, 0, -100, 100), + OPT_INTRANGE("gamma", vo_gamma_gamma, 0, -100, 100), {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL}, -- cgit v1.2.3 From e617653265aeb63cc555761b685ca98a6e2cb80f Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 29 Mar 2011 19:38:39 +0000 Subject: options: Add dummy -shuffle option to show it in -list-options Add dummy -shuffle and -noshuffle options so they appear in -list-options output. These features are not implemented as options; rather they're features of the command line parser. Also add the CONF_NOCFG flag to the existing playlist option, which is a similar placeholder for a command line parser feature. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33147 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33148 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 216d244371..604a2f1255 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -278,7 +278,9 @@ const m_option_t mplayer_opts[]={ OPT_FLAG_CONSTANTS("noloop", loop_times, 0, 0, -1), OPT_INTRANGE("loop", loop_times, 0, -1, 10000), - {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL}, + {"playlist", NULL, CONF_TYPE_STRING, CONF_NOCFG, 0, 0, NULL}, + {"shuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL}, + {"noshuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL}, OPT_MAKE_FLAGS("ordered-chapters", ordered_chapters, 0), OPT_INTRANGE("chapter-merge-threshold", chapter_merge_threshold, 0, 0, 10000), -- cgit v1.2.3