summaryrefslogtreecommitdiff
path: root/setup_menu.c
diff options
context:
space:
mode:
authorChristian Völlinger <zerov83@gmail.com>2014-01-06 12:00:02 +0100
committerChristian Völlinger <zerov83@gmail.com>2014-01-06 12:00:02 +0100
commitd4649f5f68226bf2c92415b401194a67e5749d5e (patch)
tree5e03d4180946f24571c0a9c6c96bac264730b4b0 /setup_menu.c
parent00e51c9708642efff7c23f235921a324e1df9a37 (diff)
downloadvdr-plugin-boblight-d4649f5f68226bf2c92415b401194a67e5749d5e.tar.gz
vdr-plugin-boblight-d4649f5f68226bf2c92415b401194a67e5749d5e.tar.bz2
Performance improvements
Fixes some OSD Bugs Fixes bug in loading settings
Diffstat (limited to 'setup_menu.c')
-rw-r--r--setup_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup_menu.c b/setup_menu.c
index 7c8cf5a..868eef8 100644
--- a/setup_menu.c
+++ b/setup_menu.c
@@ -30,7 +30,8 @@ void cAmbiSetup::Setup()
Add(new cMenuEditIntItem(tr("Updaterate [Hz]"), &cfg.frequence, 1, 100));
- Add(new cMenuEditStraItem(tr("Detect black borders"), &cfg.detectCineBars, 3, cineBars));
+ Add(new cMenuEditStraItem(tr("Detect black borders"), &cfg.detectCineBars, cAmbiService::cbCount, cAmbiService::cineBars));
+
Add(new cMenuEditIntItem(tr("Black border detection Threshold (0-255)"), &cfg.cineBarsThreshold, 0, 255));
Add(new cMenuEditIntItem(tr("Threshold (0-255)"), &cfg.threshold, 0, 255));