Mercurial > libavformat.hg
diff rtpdec.c @ 4754:c78617194786 libavformat
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.
| author | rbultje |
|---|---|
| date | Fri, 20 Mar 2009 01:11:08 +0000 |
| parents | 0c69b895a01f |
| children | 304a0ea063f0 |
line wrap: on
line diff
--- a/rtpdec.c Thu Mar 19 21:57:14 2009 +0000 +++ b/rtpdec.c Fri Mar 20 01:11:08 2009 +0000 @@ -30,6 +30,7 @@ #include "network.h" #include "rtpdec.h" +#include "rtp_asf.h" #include "rtp_h264.h" //#define DEBUG @@ -60,6 +61,9 @@ ff_register_dynamic_payload_handler(&mp4v_es_handler); ff_register_dynamic_payload_handler(&mpeg4_generic_handler); ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler); + + ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfv_handler); + ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfa_handler); } static int rtcp_parse_packet(RTPDemuxContext *s, const unsigned char *buf, int len)
