From 60a7c36fa6351c9cfc76a9cf5820193f6fbf2796 Mon Sep 17 00:00:00 2001 From: Johns Date: Sat, 28 Jan 2012 01:44:50 +0100 Subject: Add configurable skip lines at video top + bottom. --- softhddevice.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'softhddevice.cpp') 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; -- cgit v1.2.3