[vdr] vdr-1.5.11 & subtitling problems

Reinhard Nissl rnissl at gmx.de
Wed Nov 7 22:55:45 CET 2007


Hi,

Klaus Schmidinger schrieb:

> Thanks to Reinhard for finding this one.

And the attached patch should fix the incorrectly assembled subtitle PES
packets, which led to triggering pre 1.3.19 Dolby Digital compatibility
mode.

When TS packet's payload looked like that:

a)		00 00 01 bd 1d 7b 85 80 05
b)	27 cb cd b8 8b 20 00 0f ...

The bytes 85 80 and 05 were written to the PES packet as found was 9
after processing TS packet a) which was correct. But for the next TS
packet b), found was still 9 which caused writing the bytes 85 80 and 05
again to the PES packet.

So instead of writing

00 00 01 bd __ __ 85 80 05 27 cb cd b8 8b 20 01 00 00 20 00 0f ...
                                          ^^
the following was written:

00 00 01 bd __ __ 85 80 05 85 80 05 27 cb cd b8 8b 20 01 00 00 20 00 0f
                                          ^^

As a result PlayPES() didn't find the supported SubStreamId 20 but cd
which activated compatibility mode.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.5.10-remux.diff
Type: text/x-patch
Size: 965 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20071107/20b24523/attachment.bin 


More information about the vdr mailing list