1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed handling PAT packets when detecting frames

This commit is contained in:
Klaus Schmidinger 2014-03-08 15:05:35 +01:00
parent ad1352f109
commit f8058586f9
2 changed files with 5 additions and 1 deletions

View File

@ -8213,3 +8213,5 @@ Video Disk Recorder Revision History
that have no audio pid (reported by Christian Winkler). that have no audio pid (reported by Christian Winkler).
- Fixed a possible endless loop in cH264Parser::GetGolombUe(), which caused recordings - Fixed a possible endless loop in cH264Parser::GetGolombUe(), which caused recordings
on some HD channels to get stuck and resulted in buffer overflows. on some HD channels to get stuck and resulted in buffer overflows.
- Fixed handling PAT packets when detecting frames, so that they can be properly
taken into account when regenerating the index of a recording.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "remux.h"
@ -281,6 +281,8 @@ uchar cTsPayload::GetByte(void)
break; break;
} }
} }
else if (TsPid(p) == PATPID)
return SetEof(); // caller must see PAT packets in case of index regeneration
else else
numPacketsOther++; numPacketsOther++;
} }