1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Now only writing Dolby Digital tracks into the 'info.vdr' file of a recording if Setup.UseDolbyDigital is true

This commit is contained in:
Klaus Schmidinger 2006-01-15 14:01:19 +01:00
parent cad1a88a7b
commit dda33ecb04
3 changed files with 9 additions and 1 deletions

View File

@ -1646,3 +1646,7 @@ Patrick Cernko <errror@errror.org>
Philippe Gramoullé <philippe@gramoulle.com> Philippe Gramoullé <philippe@gramoulle.com>
for reporting a a missing '-' in the example for viewing a grabbed image on a remote for reporting a a missing '-' in the example for viewing a grabbed image on a remote
host 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

View File

@ -4183,3 +4183,5 @@ Video Disk Recorder Revision History
"All events on all channels" page may take a while. "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 - 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. 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).

4
epg.c
View File

@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by * Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * 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" #include "epg.h"
@ -247,6 +247,8 @@ void cEvent::Dump(FILE *f, const char *Prefix, bool InfoOnly) const
if (components) { if (components) {
for (int i = 0; i < components->NumComponents(); i++) { for (int i = 0; i < components->NumComponents(); i++) {
tComponent *p = components->Component(i); tComponent *p = components->Component(i);
if (!Setup.UseDolbyDigital && p->stream == 0x02 && p->type == 0x05)
continue;
fprintf(f, "%sX %s\n", Prefix, *p->ToString()); fprintf(f, "%sX %s\n", Prefix, *p->ToString());
} }
} }