From cb61c0f2d4c7a7deb84ed4db6a41c2c6bdd1a055 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 9 Mar 2011 23:03:54 +0000 Subject: [PATCH] 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 --- DOCS/man/en/mplayer.1 | 5 +++++ cfg-mplayer.h | 1 + 2 files changed, 6 insertions(+) diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 75671c69ec..206a46b4fa 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -3078,6 +3078,11 @@ Fixes fullscreen switching on OpenBox 1.x. .PD 1 . .TP +.B \-gamma <\-100\-100> +Adjust the gamma of the video signal (default: 0). +Not supported by all video output drivers. +. +.TP .B \-geometry x[%][:y[%]] or [WxH][+-x+-y] Adjust where the output is on the screen initially. The x and y specifications are in pixels measured from the top-left of the 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}, -- 2.11.4.GIT