summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-15 14:01:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-15 14:01:19 +0100
commitdda33ecb043a77fc269c768e6b72dcb7a47c3cf0 (patch)
tree881db4a42f20e73ab5ba359fae0eac9eb7ec21f5 /epg.c
parentcad1a88a7b5826ce2a03f4853a5c204c066a8ec4 (diff)
downloadvdr-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.c4
1 files changed, 3 insertions, 1 deletions
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 <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());
}
}