[rtmpdump] r557 - trunk/librtmp/rtmp.c
hyc
subversion at mplayerhq.hu
Fri Feb 25 06:51:41 CET 2011
Author: hyc
Date: Fri Feb 25 06:51:40 2011
New Revision: 557
Log:
Fix FLV timestamps during resume
Modified:
trunk/librtmp/rtmp.c
Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c Sun Feb 20 03:15:32 2011 (r556)
+++ trunk/librtmp/rtmp.c Fri Feb 25 06:51:40 2011 (r557)
@@ -4083,7 +4083,7 @@ Read_1_Packet(RTMP *r, char *buf, unsign
/* grab first timestamp and see if it needs fixing */
nTimeStamp = AMF_DecodeInt24(packetBody + 4);
nTimeStamp |= (packetBody[7] << 24);
- delta = packet.m_nTimeStamp - nTimeStamp;
+ delta = packet.m_nTimeStamp - nTimeStamp + r->m_read.nResumeTS;
while (pos + 11 < nPacketLen)
{
More information about the rtmpdump
mailing list