projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ee3c3
)
By Anders Holst: only record MPEG-4 I-frames to ap-file
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 16 Nov 2008 23:10:33 +0000
(
00:10
+0100)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 16 Nov 2008 23:10:33 +0000
(
00:10
+0100)
lib/dvb/pvrparse.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/pvrparse.cpp
b/lib/dvb/pvrparse.cpp
index
35ba909
..
dfc6224
100644
(file)
--- 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)
{