From dda33ecb043a77fc269c768e6b72dcb7a47c3cf0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 15 Jan 2006 14:01:19 +0100 Subject: Now only writing Dolby Digital tracks into the 'info.vdr' file of a recording if Setup.UseDolbyDigital is true --- CONTRIBUTORS | 4 ++++ HISTORY | 2 ++ epg.c | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index caf67781..17ff07ae 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1646,3 +1646,7 @@ Patrick Cernko Philippe Gramoullé for reporting a a missing '-' in the example for viewing a grabbed image on a remote host + +André Weidemann + for suggesting to only write Dolby Digital tracks into the 'info.vdr' file of a + recording if Setup.UseDolbyDigital is true diff --git a/HISTORY b/HISTORY index d24c8da1..d4caac99 100644 --- a/HISTORY +++ b/HISTORY @@ -4183,3 +4183,5 @@ Video Disk Recorder Revision History "All events on all channels" page may take a while. - The status markers in the "Schedule" menu are now only updated if a submenu is closed in which a timer has been modified, which speeds up closing submenus. +- Now only writing Dolby Digital tracks into the 'info.vdr' file of a recording + if Setup.UseDolbyDigital is true (suggested by André Weidemann). diff --git a/epg.c b/epg.c index 615941f2..79c11762 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 1.48 2006/01/14 15:46:50 kls Exp $ + * $Id: epg.c 1.49 2006/01/15 13:58:30 kls Exp $ */ #include "epg.h" @@ -247,6 +247,8 @@ 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()); } } -- cgit v1.2.3