summaryrefslogtreecommitdiff
path: root/vdrboblight.c
diff options
context:
space:
mode:
authorChristian Völlinger <zerov83@gmail.com>2013-12-31 15:22:29 +0100
committerChristian Völlinger <zerov83@gmail.com>2013-12-31 15:22:29 +0100
commit00e51c9708642efff7c23f235921a324e1df9a37 (patch)
tree438d3ba7b17a35bf145daee0f8d03cd78225cec0 /vdrboblight.c
parentd2d7b2d550f965302b1d265622d3a5f273eee39a (diff)
downloadvdr-plugin-boblight-00e51c9708642efff7c23f235921a324e1df9a37.tar.gz
vdr-plugin-boblight-00e51c9708642efff7c23f235921a324e1df9a37.tar.bz2
Rewrite of black border detection.0.0.3
Diffstat (limited to 'vdrboblight.c')
-rw-r--r--vdrboblight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vdrboblight.c b/vdrboblight.c
index d48fe99..5a90b77 100644
--- a/vdrboblight.c
+++ b/vdrboblight.c
@@ -85,6 +85,7 @@ void cPluginBoblight::Save() {
SetupStore("StartupViewMode", cfg.startupViewMode);
SetupStore("DetectCineBars", cfg.detectCineBars);
+ SetupStore("CineBarsThreshold", cfg.cineBarsThreshold);
SetupStore("Updaterate", cfg.frequence);
SetupStore("Threshold", cfg.threshold);
@@ -135,6 +136,7 @@ bool cPluginBoblight::SetupParse(const char* Name, const char* Value)
}
else if (!strcasecmp(Name, "DetectCineBars")) cfg.detectCineBars = (cAmbiService::Cinebars)atoi(Value);
+ else if (!strcasecmp(Name, "CineBarsThreshold")) cfg.cineBarsThreshold = atoi(Value);
else if (!strcasecmp(Name, "Frequence")) cfg.frequence = atoi(Value);
else if (!strcasecmp(Name, "Threshold")) cfg.threshold = atoi(Value);