mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user