summaryrefslogtreecommitdiff
path: root/command/marks.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-11-22 22:08:27 +0100
committerJochen Dolze <vdr@dolze.de>2010-11-22 22:08:27 +0100
commit83de61beb75c5554ec5773f63840990584d5da57 (patch)
treed789573a77fd0c0fc0b287a073193b4087df2753 /command/marks.cpp
parent2e9d23ab5e3cc12ce58042afdc2d77d098fd498e (diff)
downloadvdr-plugin-markad-83de61beb75c5554ec5773f63840990584d5da57.tar.gz
vdr-plugin-markad-83de61beb75c5554ec5773f63840990584d5da57.tar.bz2
Added SeekPATPMT when there is no PAT/PMT on start of the TS-recording
Added info about nalu filler Made demuxer more fault tolerant
Diffstat (limited to 'command/marks.cpp')
-rw-r--r--command/marks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/marks.cpp b/command/marks.cpp
index 2ebef9f..130ff42 100644
--- a/command/marks.cpp
+++ b/command/marks.cpp
@@ -545,7 +545,7 @@ bool clMarks::CheckIndex(const char *Directory, bool isTS, int *FrameCnt, int *I
{
framecnt=statbuf.st_size/sizeof(struct tIndexVDR);
}
- if (framecnt!=*FrameCnt)
+ if (abs(framecnt-*FrameCnt)>2000)
{
*FrameCnt=framecnt;
*IndexError=IERR_TOOSHORT;