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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux