From be3f4c7be0c10527fb68a992f6a386248d46c796 Mon Sep 17 00:00:00 2001 From: hyc Date: Mon, 15 Feb 2010 21:49:01 +0000 Subject: [PATCH] Ignore ctrl 31/32 in live streams git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@252 400ebc74-4327-4243-bc38-086b20814532 --- rtmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtmp.c b/rtmp.c index 2de8d28..f3d3971 100644 --- a/rtmp.c +++ b/rtmp.c @@ -1806,6 +1806,7 @@ HandleCtrl(RTMP * r, const RTMPPacket * packet) case 31: tmp = AMF_DecodeInt32(packet->m_body + 2); Log(LOGDEBUG, "%s, Stream BufferEmpty %d", __FUNCTION__, tmp); + if (r->Link.bLiveStream) break; if (!r->m_pausing) { r->m_pauseStamp = r->m_channelTimestamp[r->m_mediaChannel]; -- 2.40.0