From 6fc049aba00eff38e5dd81b0a218f41ab665b1fd Mon Sep 17 00:00:00 2001 From: hyc Date: Mon, 15 Mar 2010 17:07:55 +0000 Subject: [PATCH] Fix seek timestamp git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@354 400ebc74-4327-4243-bc38-086b20814532 --- librtmp/rtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c index 12bc36d..ed74a0a 100644 --- a/librtmp/rtmp.c +++ b/librtmp/rtmp.c @@ -1284,7 +1284,7 @@ RTMP_SendSeek(RTMP *r, double dTime) packet.m_nBodySize = enc - packet.m_body; r->m_read.flags |= RTMP_READ_SEEKING; - r->m_read.nResumeTS = (int)dTime; + r->m_read.nResumeTS = 0; return RTMP_SendPacket(r, &packet, true); } -- 2.40.0