Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: AC3overDVB patch 0.2.1 available
Am Sonntag, 02. November 2003 15:50 schrieben Sie:
> 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) {
>
Works fine :-)
When patching against 1.2.6pre there are many changes is dvbdevice.c. So the
1.2.5-patch does not match.
cat dvbdevice.c.rej
***************
*** 941,975 ****
*/
#define VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES
#ifdef VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES
- if (Data[0] == 0x00 && Data[1] == 0x00 && Data[2] == 0x01 && (Data[3] &
0xF0) == 0xE0) {
// PES data
- char *buf = MALLOC(char, Length);
- if (!buf)
[...]
But the new code in the patch seem to be still ok.
Bye
Thorsten
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index