From: hyc Date: Mon, 15 Feb 2010 21:49:01 +0000 (+0000) Subject: Ignore ctrl 31/32 in live streams X-Git-Tag: v2.4~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be3f4c7be0c10527fb68a992f6a386248d46c796;p=rtmpdump Ignore ctrl 31/32 in live streams git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@252 400ebc74-4327-4243-bc38-086b20814532 --- 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];