changeset 32977:541ec87f49ee

Add a command line option -gamma. Patch by Kevin DeKorte, kdekorte at gmail
author cehoyos
date Wed, 09 Mar 2011 23:03:54 +0000
parents baf42f6f5518
children b68d209b6f28
files DOCS/man/en/mplayer.1 cfg-mplayer.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1	Wed Mar 09 21:18:25 2011 +0000
+++ b/DOCS/man/en/mplayer.1	Wed Mar 09 23:03:54 2011 +0000
@@ -3271,6 +3271,11 @@
 .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
--- a/cfg-mplayer.h	Wed Mar 09 21:18:25 2011 +0000
+++ b/cfg-mplayer.h	Wed Mar 09 23:03:54 2011 +0000
@@ -199,6 +199,7 @@
     {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
     {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
     {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
+    {"gamma",&vo_gamma_gamma, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
     {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
     {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},