summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-03-08 15:10:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-03-08 15:10:24 +0100
commitff1422a75a753789633f48c01726324107a237e6 (patch)
tree5dbaa907e34da18f504378272c1df1062726f7e0 /remux.c
parentd406be694d7ee0d5afa5450ab753225c8920a06b (diff)
downloadvdr-ff1422a75a753789633f48c01726324107a237e6.tar.gz
vdr-ff1422a75a753789633f48c01726324107a237e6.tar.bz2
Fixed handling PAT packets when detecting frames
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/remux.c b/remux.c
index 20ea57af..c42bf933 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.c 2.75.1.4 2014/03/08 15:08:30 kls Exp $
+ * $Id: remux.c 2.75.1.5 2014/03/08 15:10:24 kls Exp $
*/
#include "remux.h"
@@ -281,6 +281,8 @@ uchar cTsPayload::GetByte(void)
break;
}
}
+ else if (TsPid(p) == PATPID)
+ return SetEof(); // caller must see PAT packets in case of index regeneration
else
numPacketsOther++;
}