[vdr] vdr-1.5.10-Sync'ing problems

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Fri Oct 19 23:18:45 CEST 2007


On 10/19/07 22:34, kirkh21 at netzero.net wrote:
> It happens a little bit in vdr-1.5.9 but not nearly as much as in vdr-1.5.10.  Vdr-1.5.10 the problem is quite a bit worse on dolby digital channels.  Thank you for your time.  

Please try:

--- device.c    2007/10/14 13:09:19     1.145
+++ device.c    2007/10/17 18:31:02     1.146
@@ -1236,7 +1236,7 @@
                int PayloadOffset = Data[8] + 9;

                // Compatibility mode for old subtitles plugin:
-               if ((Data[PayloadOffset - 3] & 0x81) == 1 && Data[PayloadOffset - 2] == 0x81)
+               if ((Data[7] & 0x01) && (Data[PayloadOffset - 3] & 0x81) == 0x01 && Data[PayloadOffset - 2] == 0x81)
                   PayloadOffset--;

                uchar SubStreamId = Data[PayloadOffset];


Klaus



More information about the vdr mailing list