summaryrefslogtreecommitdiff
path: root/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.c')
-rw-r--r--frontend.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/frontend.c b/frontend.c
index 0604e993..690e2f66 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.65 2008-11-20 11:46:30 rofafor Exp $
+ * $Id: frontend.c,v 1.66 2009-01-08 11:58:33 rofafor Exp $
*
*/
@@ -781,7 +781,7 @@ void cXinelibThread::Configure(void)
ConfigurePostprocessing(xc.deinterlace_method, xc.audio_delay,
xc.audio_compression, xc.audio_equalizer,
xc.audio_surround, xc.speaker_type);
- ConfigureVideo(xc.hue, xc.saturation, xc.brightness, xc.contrast, xc.overscan, xc.vo_aspect_ratio);
+ ConfigureVideo(xc.hue, xc.saturation, xc.brightness, xc.sharpness, xc.noise_reduction, xc.contrast, xc.overscan, xc.vo_aspect_ratio);
ConfigurePostprocessing("upmix", xc.audio_upmix ? true : false, NULL);
ConfigurePostprocessing("autocrop", xc.autocrop ? true : false,
xc.AutocropOptions());
@@ -870,14 +870,15 @@ int cXinelibThread::ConfigurePostprocessing(const char *name, bool on, const cha
}
int cXinelibThread::ConfigureVideo(int hue, int saturation,
- int brightness, int contrast,
+ int brightness, int sharpness,
+ int noise_reduction, int contrast,
int overscan, int vo_aspect_ratio)
{
char cmd[128];
Xine_Control("OVERSCAN", overscan);
snprintf(cmd, sizeof(cmd),
- "VIDEO_PROPERTIES %d %d %d %d %d",
- hue, saturation, brightness, contrast, vo_aspect_ratio);
+ "VIDEO_PROPERTIES %d %d %d %d %d %d %d",
+ hue, saturation, brightness, sharpness, noise_reduction, contrast, vo_aspect_ratio);
return Xine_Control(cmd);
}