Mailing List archive

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

[vdr] Re: AC3overDVB patch 0.2.1 available



On 18 Oct 2003 Thorsten Schnebeck <thorsten.schnebeck@gmx.net> wrote:

>  I cannot play a DVD with the default audio track. Toggling with 
> "1" betreen the two tracks (German (default) and English, both DD 
> 5.1) only the English language track seems to work.

Please try the following patch:

diff -uN vdr-1.2.5-ac3-save/multichannelaudio.c vdr-1.2.5-ac3/multichannelaudio.c
--- vdr-1.2.5-ac3-save/multichannelaudio.c	2003-10-13 21:36:58.000000000 +0200
+++ vdr-1.2.5-ac3/multichannelaudio.c	2003-11-02 15:44:11.000000000 +0100
@@ -539,6 +539,7 @@
   // packets starts with the aLPCM code sometimes. Some magic here to detect
   // this case.
   uchar subStreamType=b[0];
+  if(subStreamType!=aVDR) subStreamType&=0xF8;
   if(subStreamType==aLPCM) lpcmSeq++; else lpcmSeq=0;
   if(!(header[6]&4) && !ptsFlags) {
     if(subStreamType!=aLPCM || lpcmSeq<3) {


-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index