diff options
Diffstat (limited to 'lib/dvb/pvrparse.cpp')
| -rw-r--r-- | lib/dvb/pvrparse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp index 35ba9091..dfc62249 100644 --- a/lib/dvb/pvrparse.cpp +++ b/lib/dvb/pvrparse.cpp @@ -370,7 +370,8 @@ int eMPEGStreamParserTS::processPacket(const unsigned char *pkt, off_t offset) eDebug("Sequence header but no valid PTS value."); } - if (pkt[3] == 0x09) /* MPEG4 AVC unit access delimiter */ + if (pkt[3] == 0x09 && /* MPEG4 AVC unit access delimiter */ + (pkt[4] >> 5) == 0) /* and I-frame */ { if (ptsvalid) { |
