aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtp_asf.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-20 01:11:08 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-20 01:11:08 +0000
commite9fce261a65dabea2a8d67039c3ae093e0f288c8 (patch)
treebde1ad6fab128bb25ef2e776ca7c690896a7c069 /libavformat/rtp_asf.h
parent20f93c3ccf03f258a5bb658565665a68b61f4996 (diff)
downloadffmpeg-e9fce261a65dabea2a8d67039c3ae093e0f288c8.tar.gz
Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
SDP line handler that parses the streamID in the SDP so that ASF stream data can be matched to their respective streams in the RTSP demuxer. See "[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist. Originally committed as revision 18061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_asf.h')
-rw-r--r--libavformat/rtp_asf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/rtp_asf.h b/libavformat/rtp_asf.h
index 08632a1901..289889485a 100644
--- a/libavformat/rtp_asf.h
+++ b/libavformat/rtp_asf.h
@@ -23,6 +23,7 @@
#define AVFORMAT_RTP_ASF_H
#include "avformat.h"
+#include "rtpdec.h"
/**
* Parse a Windows Media Server-specific SDP line
@@ -32,4 +33,11 @@
*/
void ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
+/**
+ * Handlers for the x-asf-pf payloads (the payload ID for RTP/ASF).
+ * Defined and implemented in rtp_asf.c, registered in rtpdec.c.
+ */
+extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfv_handler,
+ ff_ms_rtp_asf_pfa_handler;
+
#endif /* AVFORMAT_RTP_ASF_H */