diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-20 09:07:26 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-20 09:07:26 +0200 |
commit | 3a19051c76ef19706e227ab971184a0e77a23e3c (patch) | |
tree | 2ba1b2ed92dad3c6bf5d0b4d629ed6737d127bad /remux.c | |
parent | f4007c7ff3d1f1f686bf3c74399027f7d91de86b (diff) | |
download | vdr-3a19051c76ef19706e227ab971184a0e77a23e3c.tar.gz vdr-3a19051c76ef19706e227ab971184a0e77a23e3c.tar.bz2 |
Fixed detecting frames for channels that split frames into several payloads
Diffstat (limited to 'remux.c')
-rw-r--r-- | remux.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 2.58 2011/08/15 09:50:14 kls Exp $ + * $Id: remux.c 2.59 2011/08/20 09:07:26 kls Exp $ */ #include "remux.h" @@ -974,8 +974,10 @@ int cFrameDetector::Analyze(const uchar *Data, int Length) payloadUnitOfFrame = (payloadUnitOfFrame + 1) % -framesPerPayloadUnit; if (payloadUnitOfFrame != 0 && independentFrame) payloadUnitOfFrame = 0; - if (payloadUnitOfFrame) + if (payloadUnitOfFrame) { + newPayload = false; newFrame = false; + } } if (framesPerPayloadUnit <= 1) scanning = false; |