From 9424ab26a67d40a5fe183535f9a881216ad721f9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 28 Feb 2010 14:42:07 +0100 Subject: The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital tracks appear in the "Audio" menu --- HISTORY | 3 +++ MANUAL | 8 +++----- epg.c | 4 +--- receiver.c | 4 ++-- remux.c | 4 ++-- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/HISTORY b/HISTORY index 1de58b99..94bddf12 100644 --- a/HISTORY +++ b/HISTORY @@ -6380,3 +6380,6 @@ Video Disk Recorder Revision History This obsoletes the PLUGINPARAM patch. - Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras). - cSafeFile::Close() now flushes the file (suggested by Stephan Austermühle). +- The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital + tracks appear in the "Audio" menu. Dolby Digital is always recorded. + This obsoletes the DOLBYINREC patch. diff --git a/MANUAL b/MANUAL index d4ae9aa0..ff80f553 100644 --- a/MANUAL +++ b/MANUAL @@ -675,11 +675,9 @@ Version 1.6 4:3. Use Dolby Digital = yes - 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. - If turned off, Dolby Digital tracks also don't appear in the - "Audio" menu. + Controls whether Dolby Digital tracks appear in the "Audio" + menu. This is useful if you don't have the equipment to + replay Dolby Digital audio. Update channels = 5 Controls the automatic channel update function. '0' means no update, '1' will only update channel names, '2' will diff --git a/epg.c b/epg.c index 006a5de0..18d91fc7 100644 --- a/epg.c +++ b/epg.c @@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider and Rolf Hakenes . * - * $Id: epg.c 2.5 2010/01/08 15:20:28 kls Exp $ + * $Id: epg.c 2.6 2010/02/28 14:24:55 kls Exp $ */ #include "epg.h" @@ -443,8 +443,6 @@ void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const if (components) { for (int i = 0; i < components->NumComponents(); i++) { tComponent *p = components->Component(i); - if (!Setup.UseDolbyDigital && p->stream == 0x02 && p->type == 0x05) - continue; fprintf(f, "%sX %s\n", Prefix, *p->ToString()); } } diff --git a/receiver.c b/receiver.c index f922e980..58dda78f 100644 --- a/receiver.c +++ b/receiver.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: receiver.c 2.2 2010/01/30 10:25:38 kls Exp $ + * $Id: receiver.c 2.3 2010/02/28 14:25:32 kls Exp $ */ #include "receiver.h" @@ -81,7 +81,7 @@ bool cReceiver::SetPids(const cChannel *Channel) return AddPid(Channel->Vpid()) && (Channel->Ppid() == Channel->Vpid() || AddPid(Channel->Ppid())) && AddPids(Channel->Apids()) && - (!Setup.UseDolbyDigital || AddPids(Channel->Dpids())) && + AddPids(Channel->Dpids()) && AddPids(Channel->Spids()); } return true; diff --git a/remux.c b/remux.c index 070a06ae..2532c638 100644 --- a/remux.c +++ b/remux.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 2.41 2010/01/30 10:43:12 kls Exp $ + * $Id: remux.c 2.42 2010/02/28 14:42:07 kls Exp $ */ #include "remux.h" @@ -601,7 +601,7 @@ void cPatPmtParser::ParsePmt(const uchar *Data, int Length) dpids[NumDpids] = dpid; dtypes[NumDpids] = stream.getStreamType(); strn0cpy(dlangs[NumDpids], lang, sizeof(dlangs[NumDpids])); - if (updatePrimaryDevice) + if (updatePrimaryDevice && Setup.UseDolbyDigital) cDevice::PrimaryDevice()->SetAvailableTrack(ttDolby, NumDpids, dpid, lang); NumDpids++; dpids[NumDpids]= 0; -- cgit v1.2.3