summaryrefslogtreecommitdiff
path: root/libavformat/rdt.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:38:44 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:38:44 +0000
commit3ca45429fea4edb64daf3e6dd11e40ee23bc484b (patch)
treebe5a1f9db55bcae1c199fe9d9987fcf19d06e94a /libavformat/rdt.h
parentb06688ffedf0491deb158f5885b55203103e0c99 (diff)
Parse the ASMRuleBook SDP line to dynamically create one new AVStream for
each "rule" described in the ASMRuleBook. Each rule represents a stream of identical content compared to other streams in the same rulebook, but with a possibly different codec/bitrate/etc. See "[PATCH] rdt.c: ASM rulebook parsing and AVStream creation" thread on mailinglist. Originally committed as revision 16466 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r--libavformat/rdt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h
index 04cc82d389..708b025bec 100644
--- a/libavformat/rdt.h
+++ b/libavformat/rdt.h
@@ -101,4 +101,15 @@ int ff_rdt_parse_header(const uint8_t *buf, int len,
int ff_rdt_parse_packet(RDTDemuxContext *s, AVPacket *pkt,
const uint8_t *buf, int len);
+/**
+ * Parse a server-related SDP line.
+ *
+ * @param s the RTSP AVFormatContext
+ * @param stream_index the index of the first stream in the set represented
+ * by the SDP m= line (in s->streams)
+ * @param buf the SDP line
+ */
+void ff_real_parse_sdp_a_line(AVFormatContext *s, int stream_index,
+ const char *buf);
+
#endif /* AVFORMAT_RDT_H */