mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed handling PAT packets when detecting frames
This commit is contained in:
4
remux.c
4
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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user