1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Increased the valid range of the "Subtitle offset" setup option to -100...100

This commit is contained in:
Klaus Schmidinger 2008-02-24 10:11:14 +01:00
parent 25cc41854e
commit 088c325e8f
4 changed files with 7 additions and 4 deletions

View File

@ -1044,6 +1044,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
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 <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark

View File

@ -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).

2
MANUAL
View File

@ -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

4
menu.c
View File

@ -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));
}