[rtmpdump] r252 - trunk/rtmp.c

hyc subversion at mplayerhq.hu
Mon Feb 15 22:49:02 CET 2010


Author: hyc
Date: Mon Feb 15 22:49:01 2010
New Revision: 252

Log:
Ignore ctrl 31/32 in live streams

Modified:
   trunk/rtmp.c

Modified: trunk/rtmp.c
==============================================================================
--- trunk/rtmp.c	Sun Feb 14 21:55:21 2010	(r251)
+++ trunk/rtmp.c	Mon Feb 15 22:49:01 2010	(r252)
@@ -1806,6 +1806,7 @@ HandleCtrl(RTMP * r, const RTMPPacket * 
 	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];


More information about the rtmpdump mailing list