From 088c325e8f6f6bb70a2588a9eb6278c0795245af Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 24 Feb 2008 10:11:14 +0100 Subject: [PATCH] Increased the valid range of the "Subtitle offset" setup option to -100...100 --- CONTRIBUTORS | 1 + HISTORY | 4 +++- MANUAL | 2 +- menu.c | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index ca691992..cab05b4e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1044,6 +1044,7 @@ Rolf Ahrenberg for suggesting to limit the length of the recording name in timers created via SVDRP in case VDR is run with --vfat, in order to avoid names that are too long for Windows + for increasing the valid range of the "Subtitle offset" setup option to -100...100 Ralf Klueber for reporting a bug in cutting a recording if there is only a single editing mark diff --git a/HISTORY b/HISTORY index 71d01c8d..0665c86b 100644 --- a/HISTORY +++ b/HISTORY @@ -5644,7 +5644,7 @@ Video Disk Recorder Revision History should be used. - Fixed calculating the scrollbar sizes in the skins. -2008-02-23: Version 1.5.16 +2008-02-24: Version 1.5.16 - Fixed setting the current subtitle track in Transfer-Mode (reported by Petri Helin, thanks to Reinhard Nissl for pointing out that cDevice::Transferring() doesn't @@ -5666,3 +5666,5 @@ Video Disk Recorder Revision History - No longer trying to switch to an available channel if the primary device has no valid programme and a menu is open (avoids interference with the CAM in case a CAM menu is open). +- Increased the valid range of the "Subtitle offset" setup option to -100...100 + (thanks to Rolf Ahrenberg). diff --git a/MANUAL b/MANUAL index a21d43c2..bb128f50 100644 --- a/MANUAL +++ b/MANUAL @@ -691,7 +691,7 @@ Version 1.6 individual preferred languages. Subtitle offset = 0 Allows you to shift the location of the subtitles in the - vertical direction. The valid range is -50...50. This option + vertical direction. The valid range is -100...100. This option is only available if "Display subtitles" is set to 'yes'. Subtitle foreground transparency = 0 diff --git a/menu.c b/menu.c index 11a7826d..0fb36cbe 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.478 2008/02/23 14:36:43 kls Exp $ + * $Id: menu.c 1.479 2008/02/24 10:08:42 kls Exp $ */ #include "menu.h" @@ -2498,7 +2498,7 @@ void cMenuSetupDVB::Setup(void) Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle languages"), &numSubtitleLanguages, 0, I18nLanguages()->Size())); for (int i = 0; i < numSubtitleLanguages; i++) Add(new cMenuEditStraItem(tr("Setup.DVB$Subtitle language"), &data.SubtitleLanguages[i], I18nLanguages()->Size(), &I18nLanguages()->At(0))); - Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle offset"), &data.SubtitleOffset, -50, 50)); + Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle offset"), &data.SubtitleOffset, -100, 100)); Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle foreground transparency"), &data.SubtitleFgTransparency, 0, 9)); Add(new cMenuEditIntItem( tr("Setup.DVB$Subtitle background transparency"), &data.SubtitleBgTransparency, 0, 10)); }