vdr-1.5.10-Sync'ing problems

Message ID 47191F35.3090106@cadsoft.de
State New
Headers

Commit Message

Klaus Schmidinger Oct. 19, 2007, 9:18 p.m. UTC
  On 10/19/07 22:34, kirkh21@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:



Klaus
  

Patch

--- 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];