[vdr] info.vdr contains Dolby Audio Track although it's disabled under Setup

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sun Jan 15 14:59:22 CET 2006


André Weidemann wrote:
> Hi List,
> I was trying to improve the dvd-burn plugin so it contains the correct 
> language information for each audio track after dvd creation.
> On my VDR system (1.3.37) I disabled DolbyDigital in the Setup. And as 
> far as I could see, AC3 is not recoreded when it's disabled.
> The info.vdr file however still contains the audio track information for 
> Dolby Digital.
> Could this be fixed? So that the Dolby track info is only written to 
> info.vdr when it is enabled under Setup?

Please try if this helps:

--- epg.c       2006/01/14 15:46:50     1.48
+++ epg.c       2006/01/15 13:58:30
@@ -247,6 +247,8 @@
       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());
              }
          }


Klaus



More information about the vdr mailing list