summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-28 01:44:50 +0100
committerJohns <johns98@gmx.net>2012-01-28 01:44:50 +0100
commit60a7c36fa6351c9cfc76a9cf5820193f6fbf2796 (patch)
tree4a75516d7aab7630a1c2de75cc092fbb2c963e19 /softhddevice.cpp
parent4d74ed1bfc2199d58b2375153cb838b3e71042e3 (diff)
downloadvdr-plugin-softhddevice-60a7c36fa6351c9cfc76a9cf5820193f6fbf2796.tar.gz
vdr-plugin-softhddevice-60a7c36fa6351c9cfc76a9cf5820193f6fbf2796.tar.bz2
Add configurable skip lines at video top + bottom.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index d882ce3..67cb13a 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -77,6 +77,7 @@ static int ConfigVideoSharpen[RESOLUTIONS];
static int ConfigVideoScaling[RESOLUTIONS];
static int ConfigVideoAudioDelay; ///< config audio delay
+static int ConfigVideoSkipLines; ///< config skip lines top/bottom
static int ConfigAudioPassthrough; ///< config audio pass-through
static int ConfigAutoCropInterval; ///< auto crop detection interval
@@ -1203,6 +1204,10 @@ bool cPluginSoftHdDevice::SetupParse(const char *name, const char *value)
}
}
+ if (!strcmp(name, "SkipLines")) {
+ VideoSetSkipLines(ConfigVideoSkipLines = atoi(value));
+ return true;
+ }
if (!strcmp(name, "AudioDelay")) {
VideoSetAudioDelay(ConfigVideoAudioDelay = atoi(value));
return true;