diff -Naur vdr-1.5.8.org/config.c vdr-1.5.8/config.c --- vdr-1.5.8.org/config.c 2009-01-09 19:24:58.371995514 -0500 +++ vdr-1.5.8/config.c 2009-01-09 19:39:50.052620625 -0500 @@ -265,6 +265,7 @@ VideoFormat = 0; UpdateChannels = 5; UseDolbyDigital = 1; + DolbyInRecordings = 1; ChannelInfoPos = 0; ChannelInfoTime = 5; OSDLeft = 54; @@ -444,6 +445,7 @@ else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value); else if (!strcasecmp(Name, "UpdateChannels")) UpdateChannels = atoi(Value); else if (!strcasecmp(Name, "UseDolbyDigital")) UseDolbyDigital = atoi(Value); + else if (!strcasecmp(Name, "DolbyInRecordings")) DolbyInRecordings = atoi(Value); else if (!strcasecmp(Name, "ChannelInfoPos")) ChannelInfoPos = atoi(Value); else if (!strcasecmp(Name, "ChannelInfoTime")) ChannelInfoTime = atoi(Value); else if (!strcasecmp(Name, "OSDLeft")) OSDLeft = atoi(Value); @@ -530,6 +532,7 @@ Store("VideoFormat", VideoFormat); Store("UpdateChannels", UpdateChannels); Store("UseDolbyDigital", UseDolbyDigital); + Store("DolbyInRecordings", DolbyInRecordings); Store("ChannelInfoPos", ChannelInfoPos); Store("ChannelInfoTime", ChannelInfoTime); Store("OSDLeft", OSDLeft); diff -Naur vdr-1.5.8.org/config.h vdr-1.5.8/config.h --- vdr-1.5.8.org/config.h 2009-01-09 19:24:58.371995514 -0500 +++ vdr-1.5.8/config.h 2009-01-09 19:39:50.052620625 -0500 @@ -249,6 +249,7 @@ int VideoFormat; int UpdateChannels; int UseDolbyDigital; + int DolbyInRecordings; int ChannelInfoPos; int ChannelInfoTime; int OSDLeft, OSDTop, OSDWidth, OSDHeight; diff -Naur vdr-1.5.8.org/menu.c vdr-1.5.8/menu.c --- vdr-1.5.8.org/menu.c 2009-01-09 19:34:40.176621640 -0500 +++ vdr-1.5.8/menu.c 2009-01-09 19:39:50.053620434 -0500 @@ -2886,6 +2886,7 @@ Add(new cMenuEditIntItem( tr("Setup.Recording$Instant rec. time (min)"), &data.InstantRecordTime, 1, MAXINSTANTRECTIME)); Add(new cMenuEditIntItem( tr("Setup.Recording$Max. video file size (MB)"), &data.MaxVideoFileSize, MINVIDEOFILESIZE, MAXVIDEOFILESIZE)); Add(new cMenuEditBoolItem(tr("Setup.Recording$Split edited files"), &data.SplitEditedFiles)); + Add(new cMenuEditBoolItem( tr("Setup.Recording$Record Dolby"), &data.DolbyInRecordings)); } diff -Naur vdr-1.5.8.org/recorder.c vdr-1.5.8/recorder.c --- vdr-1.5.8.org/recorder.c 2009-01-09 19:24:58.409993489 -0500 +++ vdr-1.5.8/recorder.c 2009-01-09 19:39:50.054620277 -0500 @@ -151,7 +151,7 @@ // --- cRecorder ------------------------------------------------------------- cRecorder::cRecorder(const char *FileName, tChannelID ChannelID, int Priority, int VPid, const int *APids, const int *DPids, const int *SPids, bool IsLiveRec, bool IsBeginning) -:cReceiver(ChannelID, Priority, VPID_FROM_ANY(VPid), APids, Setup.UseDolbyDigital ? DPids : NULL, SPids) +:cReceiver(ChannelID, Priority, VPID_FROM_ANY(VPid), APids, Setup.DolbyInRecordings ? DPids : NULL, SPids) ,cThread("recording") { isLiveRec=IsLiveRec; @@ -162,7 +162,7 @@ ringBuffer = new cRingBufferLinear(RECORDERBUFSIZE, TS_SIZE * 2, true, "Recorder"); ringBuffer->SetTimeouts(0, 100); - remux = new cRemux(VPid, APids, Setup.UseDolbyDigital ? DPids : NULL, SPids, !isLiveRec); + remux = new cRemux(VPid, APids, Setup.DolbyInRecordings ? DPids : NULL, SPids, !isLiveRec); oldRemux=NULL; writer = new cFileWriter(FileName, remux,IsLiveRec,IsBeginning); }