From 9edfaf3c6c726600559ad9df07f3d3331e157f6e Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 7 Apr 2009 06:41:55 +0000 Subject: Add support for H.263 video in the RTP muxer patch by Martin Storsjö (martin AT martin DOT st) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/sdp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/sdp.c') diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 0c12862e47..fd51bc76ef 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -177,6 +177,10 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, payload_type, payload_type, config ? config : ""); break; + case CODEC_ID_H263: + case CODEC_ID_H263P: + av_strlcatf(buff, size, "a=rtpmap:%d H263-2000/90000\r\n", payload_type); + break; case CODEC_ID_MPEG4: if (c->extradata_size) { config = extradata2config(c); -- cgit v1.2.3