mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
New Setup parameter RecordDolbyDigital
This commit is contained in:
parent
67cbbd7ba3
commit
7f3c58f857
3
HISTORY
3
HISTORY
@ -1026,3 +1026,6 @@ Video Disk Recorder Revision History
|
|||||||
- The new SVDRP command PUTE can be used to put EPG data into the EPG list.
|
- The new SVDRP command PUTE can be used to put EPG data into the EPG list.
|
||||||
See FORMATS for details about the required data format.
|
See FORMATS for details about the required data format.
|
||||||
- Taking the German umlauts 'as is' when compiled with VFAT.
|
- Taking the German umlauts 'as is' when compiled with VFAT.
|
||||||
|
- The new Setup parameter RecordDolbyDigital can be used to generally turn off
|
||||||
|
recording the Dolby Digital audio channels in case you want to save disk space
|
||||||
|
or don't have the equipment to replay Dolby Digital audio.
|
||||||
|
4
MANUAL
4
MANUAL
@ -478,6 +478,10 @@ Video Disk Recorder User's Manual
|
|||||||
0 = 4:3
|
0 = 4:3
|
||||||
1 = 16:9
|
1 = 16:9
|
||||||
|
|
||||||
|
RecordDolbyDigital = 1 Turns recording of the Dolby Digital audio channels on
|
||||||
|
or off. This may be useful if you don't have the equipment
|
||||||
|
to replay Dolby Digital audio and want to save disk space.
|
||||||
|
|
||||||
ChannelInfoPos = 0 The position of the channel info window in the OSD.
|
ChannelInfoPos = 0 The position of the channel info window in the OSD.
|
||||||
0 = bottom
|
0 = bottom
|
||||||
1 = top
|
1 = top
|
||||||
|
5
config.c
5
config.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.c 1.85 2002/02/17 15:38:34 kls Exp $
|
* $Id: config.c 1.86 2002/02/24 11:53:12 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -910,6 +910,7 @@ cSetup::cSetup(void)
|
|||||||
UseSubtitle = 1;
|
UseSubtitle = 1;
|
||||||
RecordingDirs = 1;
|
RecordingDirs = 1;
|
||||||
VideoFormat = VIDEO_FORMAT_4_3;
|
VideoFormat = VIDEO_FORMAT_4_3;
|
||||||
|
RecordDolbyDigital = 1;
|
||||||
ChannelInfoPos = 0;
|
ChannelInfoPos = 0;
|
||||||
OSDwidth = 52;
|
OSDwidth = 52;
|
||||||
OSDheight = 18;
|
OSDheight = 18;
|
||||||
@ -955,6 +956,7 @@ bool cSetup::Parse(char *s)
|
|||||||
else if (!strcasecmp(Name, "UseSubtitle")) UseSubtitle = atoi(Value);
|
else if (!strcasecmp(Name, "UseSubtitle")) UseSubtitle = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value);
|
else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value);
|
else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value);
|
||||||
|
else if (!strcasecmp(Name, "RecordDolbyDigital")) RecordDolbyDigital = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "ChannelInfoPos")) ChannelInfoPos = atoi(Value);
|
else if (!strcasecmp(Name, "ChannelInfoPos")) ChannelInfoPos = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "OSDwidth")) OSDwidth = atoi(Value);
|
else if (!strcasecmp(Name, "OSDwidth")) OSDwidth = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "OSDheight")) OSDheight = atoi(Value);
|
else if (!strcasecmp(Name, "OSDheight")) OSDheight = atoi(Value);
|
||||||
@ -1035,6 +1037,7 @@ bool cSetup::Save(const char *FileName)
|
|||||||
fprintf(f, "UseSubtitle = %d\n", UseSubtitle);
|
fprintf(f, "UseSubtitle = %d\n", UseSubtitle);
|
||||||
fprintf(f, "RecordingDirs = %d\n", RecordingDirs);
|
fprintf(f, "RecordingDirs = %d\n", RecordingDirs);
|
||||||
fprintf(f, "VideoFormat = %d\n", VideoFormat);
|
fprintf(f, "VideoFormat = %d\n", VideoFormat);
|
||||||
|
fprintf(f, "RecordDolbyDigital = %d\n", RecordDolbyDigital);
|
||||||
fprintf(f, "ChannelInfoPos = %d\n", ChannelInfoPos);
|
fprintf(f, "ChannelInfoPos = %d\n", ChannelInfoPos);
|
||||||
fprintf(f, "OSDwidth = %d\n", OSDwidth);
|
fprintf(f, "OSDwidth = %d\n", OSDwidth);
|
||||||
fprintf(f, "OSDheight = %d\n", OSDheight);
|
fprintf(f, "OSDheight = %d\n", OSDheight);
|
||||||
|
3
config.h
3
config.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.h 1.97 2002/02/17 15:41:44 kls Exp $
|
* $Id: config.h 1.98 2002/02/24 11:53:14 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -330,6 +330,7 @@ public:
|
|||||||
int UseSubtitle;
|
int UseSubtitle;
|
||||||
int RecordingDirs;
|
int RecordingDirs;
|
||||||
int VideoFormat;
|
int VideoFormat;
|
||||||
|
int RecordDolbyDigital;
|
||||||
int ChannelInfoPos;
|
int ChannelInfoPos;
|
||||||
int OSDwidth, OSDheight;
|
int OSDwidth, OSDheight;
|
||||||
int OSDMessageTime;
|
int OSDMessageTime;
|
||||||
|
6
dvbapi.c
6
dvbapi.c
@ -7,7 +7,7 @@
|
|||||||
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
||||||
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
|
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
|
||||||
*
|
*
|
||||||
* $Id: dvbapi.c 1.150 2002/02/23 13:11:13 kls Exp $
|
* $Id: dvbapi.c 1.151 2002/02/24 11:53:17 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DVDDEBUG 1
|
//#define DVDDEBUG 1
|
||||||
@ -3102,9 +3102,9 @@ bool cDvbApi::SetPids(bool ForRecording)
|
|||||||
{
|
{
|
||||||
return SetVpid(vPid, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
|
return SetVpid(vPid, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
|
||||||
SetApid1(aPid1, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
|
SetApid1(aPid1, ForRecording ? DMX_OUT_TS_TAP : DMX_OUT_DECODER) &&
|
||||||
SetApid2(ForRecording ? aPid2 : 0, DMX_OUT_TS_TAP) &&
|
SetApid2(ForRecording ? aPid2 : 0, DMX_OUT_TS_TAP) && (!Setup.RecordDolbyDigital ||
|
||||||
SetDpid1(ForRecording ? dPid1 : 0, DMX_OUT_TS_TAP) &&
|
SetDpid1(ForRecording ? dPid1 : 0, DMX_OUT_TS_TAP) &&
|
||||||
SetDpid2(ForRecording ? dPid2 : 0, DMX_OUT_TS_TAP);
|
SetDpid2(ForRecording ? dPid2 : 0, DMX_OUT_TS_TAP));
|
||||||
}
|
}
|
||||||
|
|
||||||
eSetChannelResult cDvbApi::SetChannel(int ChannelNumber, int Frequency, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr)
|
eSetChannelResult cDvbApi::SetChannel(int ChannelNumber, int Frequency, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr)
|
||||||
|
12
i18n.c
12
i18n.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: i18n.c 1.55 2002/02/17 14:29:13 kls Exp $
|
* $Id: i18n.c 1.56 2002/02/24 11:53:44 kls Exp $
|
||||||
*
|
*
|
||||||
* Slovenian translations provided by Miha Setina <mihasetina@softhome.net>
|
* Slovenian translations provided by Miha Setina <mihasetina@softhome.net>
|
||||||
* Italian translations provided by Alberto Carraro <bertocar@tin.it>
|
* Italian translations provided by Alberto Carraro <bertocar@tin.it>
|
||||||
@ -1076,6 +1076,16 @@ const tPhrase Phrases[] = {
|
|||||||
"TV Format",
|
"TV Format",
|
||||||
"Kuvamuoto",
|
"Kuvamuoto",
|
||||||
},
|
},
|
||||||
|
{ "RecordDolbyDigital",
|
||||||
|
"Dolby Digital Ton aufz.",
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
"", // TODO
|
||||||
|
},
|
||||||
{ "ChannelInfoPos",
|
{ "ChannelInfoPos",
|
||||||
"Kanal Info Position",
|
"Kanal Info Position",
|
||||||
"", // TODO
|
"", // TODO
|
||||||
|
3
menu.c
3
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.157 2002/02/23 13:55:23 kls Exp $
|
* $Id: menu.c 1.158 2002/02/24 11:54:04 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -1944,6 +1944,7 @@ void cMenuSetup::Set(void)
|
|||||||
Add(new cMenuEditBoolItem(tr("UseSubtitle"), &data.UseSubtitle));
|
Add(new cMenuEditBoolItem(tr("UseSubtitle"), &data.UseSubtitle));
|
||||||
Add(new cMenuEditBoolItem(tr("RecordingDirs"), &data.RecordingDirs));
|
Add(new cMenuEditBoolItem(tr("RecordingDirs"), &data.RecordingDirs));
|
||||||
Add(new cMenuEditBoolItem(tr("VideoFormat"), &data.VideoFormat, "4:3", "16:9"));
|
Add(new cMenuEditBoolItem(tr("VideoFormat"), &data.VideoFormat, "4:3", "16:9"));
|
||||||
|
Add(new cMenuEditBoolItem(tr("RecordDolbyDigital"), &data.RecordDolbyDigital));
|
||||||
Add(new cMenuEditBoolItem(tr("ChannelInfoPos"), &data.ChannelInfoPos, tr("bottom"), tr("top")));
|
Add(new cMenuEditBoolItem(tr("ChannelInfoPos"), &data.ChannelInfoPos, tr("bottom"), tr("top")));
|
||||||
Add(new cMenuEditIntItem( tr("OSDwidth"), &data.OSDwidth, MINOSDWIDTH, MAXOSDWIDTH));
|
Add(new cMenuEditIntItem( tr("OSDwidth"), &data.OSDwidth, MINOSDWIDTH, MAXOSDWIDTH));
|
||||||
Add(new cMenuEditIntItem( tr("OSDheight"), &data.OSDheight, MINOSDHEIGHT, MAXOSDHEIGHT));
|
Add(new cMenuEditIntItem( tr("OSDheight"), &data.OSDheight, MINOSDHEIGHT, MAXOSDHEIGHT));
|
||||||
|
Loading…
Reference in New Issue
Block a user