summaryrefslogtreecommitdiff
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
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
-rw-r--r--CONTRIBUTORS4
-rw-r--r--HISTORY2
-rw-r--r--epg.c4
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
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 <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());
}
}