summaryrefslogtreecommitdiff
path: root/command/demux.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/demux.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/demux.cpp')
-rw-r--r--command/demux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/demux.cpp b/command/demux.cpp
index c3580c5..752b300 100644
--- a/command/demux.cpp
+++ b/command/demux.cpp
@@ -207,7 +207,7 @@ int cMarkAdDemux::GetMinNeeded(MarkAdPid Pid, uchar *Data, int Count, bool *Offc
}
else
{
- return 0;
+ return -1; // skip one byte (maybe we get another header!)
}
}