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 /epg.c | |
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
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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()); } } |