diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-08 15:05:35 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-08 15:05:35 +0100 |
commit | f8058586f9d438bfd3c501a3a313a1cc1c30299b (patch) | |
tree | 3f8b54a95724b0467f3c054144758ae5c0ee44bc /remux.c | |
parent | ad1352f109a5e20787baf99d31b1723ae200784e (diff) | |
download | vdr-f8058586f9d438bfd3c501a3a313a1cc1c30299b.tar.gz vdr-f8058586f9d438bfd3c501a3a313a1cc1c30299b.tar.bz2 |
Fixed handling PAT packets when detecting frames
Diffstat (limited to 'remux.c')
-rw-r--r-- | remux.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 3.4 2014/03/08 15:04:03 kls Exp $ + * $Id: remux.c 3.5 2014/03/08 15:05:35 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++; } |