[rtmpdump] r308 - in trunk/librtmp: rtmp.c rtmp.h

hyc subversion at mplayerhq.hu
Mon Mar 8 15:17:16 CET 2010


Author: hyc
Date: Mon Mar  8 15:17:15 2010
New Revision: 308

Log:
Publish RTMP_SendSeek()

Modified:
   trunk/librtmp/rtmp.c
   trunk/librtmp/rtmp.h

Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c	Mon Mar  8 14:38:05 2010	(r307)
+++ trunk/librtmp/rtmp.c	Mon Mar  8 15:17:15 2010	(r308)
@@ -1136,11 +1136,9 @@ RTMP_SendPause(RTMP * r, bool DoPause, d
   return RTMP_SendPacket(r, &packet, true);
 }
 
-#if 0 /* unused */
 SAVC(seek);
 
-static bool
-SendSeek(RTMP * r, double dTime)
+bool RTMP_SendSeek(RTMP * r, double dTime)
 {
   RTMPPacket packet;
   char pbuf[256], *pend = pbuf+sizeof(pbuf);
@@ -1163,7 +1161,6 @@ SendSeek(RTMP * r, double dTime)
 
   return RTMP_SendPacket(r, &packet, true);
 }
-#endif
 
 bool
 RTMP_SendServerBW(RTMP * r)

Modified: trunk/librtmp/rtmp.h
==============================================================================
--- trunk/librtmp/rtmp.h	Mon Mar  8 14:38:05 2010	(r307)
+++ trunk/librtmp/rtmp.h	Mon Mar  8 15:17:15 2010	(r308)
@@ -263,6 +263,7 @@ bool RTMP_FindFirstMatchingProperty(AMFO
 bool RTMPSockBuf_Fill(RTMPSockBuf *sb);
 
 bool RTMP_SendCreateStream(RTMP * r, double dCmdID);
+bool RTMP_SendSeek(RTMP * r, double dTime);
 bool RTMP_SendServerBW(RTMP * r);
 void RTMP_DropRequest(RTMP *r, int i, bool freeit);
 


More information about the rtmpdump mailing list