Mailing List archive

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

[vdr] Re: [PATCH] improve compatibility with old DD recordings



Stefan Huelswitt wrote:
Hi,
I have a lot of older recording with DD which are not recognised
by vdr. The attached patch improves compatibility for me.

Technical: many of recordings doesn't have set the align bit even
that the data is actualy align. I take the pts/dts flags a second
best indicator for aligned data.

Regards.



------------------------------------------------------------------------

--- vdr-1.3.19-orig/device.c 2005-01-23 16:41:05.000000000 +0100
@@ -847,7 +893,7 @@
// Compatibility mode for old VDR recordings, where 0xBD was only AC3:
//TODO apparently this doesn't work for old ORF Dolby Digital recordings
- if (!pre_1_3_19_PrivateStream && (Data[6] & 4) && Data[PayloadOffset] == 0x0B && Data[PayloadOffset + 1] == 0x77)
+ if (!pre_1_3_19_PrivateStream && ((Data[6] & 4) || (Data[7] & 0xC0)) && Data[PayloadOffset] == 0x0B && Data[PayloadOffset + 1] == 0x77)
pre_1_3_19_PrivateStream = true;
if (pre_1_3_19_PrivateStream) {
SubStreamId = c;
VDR 1.3.20 does this a little different - can you please try that one?

Klaus




Home | Main Index | Thread Index