summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.c b/config.c
index f60ba69f..61e7f651 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.76 2008-12-19 16:01:54 rofafor Exp $
+ * $Id: config.c,v 1.77 2009-01-08 11:58:33 rofafor Exp $
*
*/
@@ -568,6 +568,8 @@ config_t::config_t() {
saturation = -1;
contrast = -1;
brightness = -1;
+ sharpness = -1;
+ noise_reduction = -1;
vo_aspect_ratio = 0;
live_mode_sync = 1; // Sync SCR to transponder clock in live mode
@@ -802,6 +804,8 @@ bool config_t::SetupParse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "Video.Saturation")) saturation = atoi(Value);
else if (!strcasecmp(Name, "Video.Contrast")) contrast = atoi(Value);
else if (!strcasecmp(Name, "Video.Brightness")) brightness = atoi(Value);
+ else if (!strcasecmp(Name, "Video.Sharpness")) sharpness = atoi(Value);
+ else if (!strcasecmp(Name, "Video.NoiseReduction")) noise_reduction = atoi(Value);
else if (!strcasecmp(Name, "Video.Overscan")) overscan = atoi(Value);
else if (!strcasecmp(Name, "Video.IBPTrickSpeed")) ibp_trickspeed = atoi(Value);
else if (!strcasecmp(Name, "Video.MaxTrickSpeed")) max_trickspeed = atoi(Value);