diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-15 14:01:19 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-15 14:01:19 +0100 |
commit | dda33ecb043a77fc269c768e6b72dcb7a47c3cf0 (patch) | |
tree | 881db4a42f20e73ab5ba359fae0eac9eb7ec21f5 | |
parent | cad1a88a7b5826ce2a03f4853a5c204c066a8ec4 (diff) | |
download | vdr-dda33ecb043a77fc269c768e6b72dcb7a47c3cf0.tar.gz vdr-dda33ecb043a77fc269c768e6b72dcb7a47c3cf0.tar.bz2 |
Now only writing Dolby Digital tracks into the 'info.vdr' file of a recording if Setup.UseDolbyDigital is true
-rw-r--r-- | CONTRIBUTORS | 4 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | epg.c | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index caf67781..17ff07ae 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1646,3 +1646,7 @@ Patrick Cernko <errror@errror.org> Philippe Gramoullé <philippe@gramoulle.com> for reporting a a missing '-' in the example for viewing a grabbed image on a remote host + +André Weidemann <Andre.Weidemann@web.de> + for suggesting to only write Dolby Digital tracks into the 'info.vdr' file of a + recording if Setup.UseDolbyDigital is true @@ -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). @@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $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()); } } |