r557 - trunk/librtmp/rtmp.c
25 Feb
2011
25 Feb
'11
5:51 a.m.
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) {
5673
Age (days ago)
5673
Last active (days ago)
0 comments
1 participants
participants (1)
-
hyc