Mailing List archive

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

[vdr] Re: AC3overDVB 0.2.2 available



Hi,
I was notified of a problem with DVD audio replay when the new
"on demand" mode is enabled.

You can use the attached patch or download a corrected version
from:
<http://www.muempf.de/down/vdr-1.2.6-AC3overDVB-0.2.2a.diff.gz>

Note: for DVD replay "on demand" and "autoselect" mode both
operate as "autoselect".

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan
diff -uN -x Make.config vdr-1.2.6-ac3-save/dvbdevice.c vdr-1.2.6-ac3/dvbdevice.c
--- vdr-1.2.6-ac3-save/dvbdevice.c	2003-11-14 16:24:24.000000000 +0100
+++ vdr-1.2.6-ac3/dvbdevice.c	2003-11-15 11:58:19.000000000 +0100
@@ -1281,11 +1281,12 @@
   int off=0;
   if(SOP) {
     int n=Check(data,len,header);
+    off=Offset(); // get offset to skip extra DVD header
     switch(n) {
       case 0: // encapsulate and send to cAudios
         if(Setup.PlayMultichannelAudio) {
           if(!trackSelected) {
-            if(Setup.PlayMultichannelAudio<2) {
+            if(Setup.PlayMultichannelAudio<2 && !off) {
               skipMode=true;
               break;
               }
@@ -1310,7 +1311,6 @@
         Redirect(prPass);
         return 0;
       }
-    off=Offset();                  // get offset to skip extra DVD header
     if(off) ModifyPaketSize(-off); // adjust paket size in the header
     cDevice::PlayAudio(header,headerSize);
     }

Home | Main Index | Thread Index