diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2010-08-16 14:21:17 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-08-16 14:21:17 +0000 |
commit | 7b18d94cb3c44cab320f4ea177760fa14d82fe30 (patch) | |
tree | 73ffe59fdae8bfee73673fff8b4503841515aa32 /libavformat/sdp.c | |
parent | 63638a3c4a6c8fec03e121a0bfbfa555ff6d4956 (diff) | |
download | ffmpeg-7b18d94cb3c44cab320f4ea177760fa14d82fe30.tar.gz |
Add RTP packetization of VP8
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24797 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index ab5ef400bb..ad06906dd6 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -412,6 +412,10 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, c->width, c->height, pix_fmt, config); break; } + case CODEC_ID_VP8: + av_strlcatf(buff, size, "a=rtpmap:%d VP8/90000\r\n", + payload_type); + break; default: /* Nothing special to do here... */ break; |