diff options
author | Thomas Volkert <thomas@netzeal.de> | 2016-05-03 19:07:37 +0200 |
---|---|---|
committer | Thomas Volkert <thomas@netzeal.de> | 2016-05-03 19:07:37 +0200 |
commit | f591b7b5265fcf29dad12c4995ee43b0e3d594e7 (patch) | |
tree | 466197196815268594b8817baff1aacc9fff3364 /libavformat/sdp.c | |
parent | 1ef267b83f8b71c07c2453852ce8bb44fa27a2da (diff) | |
download | ffmpeg-f591b7b5265fcf29dad12c4995ee43b0e3d594e7.tar.gz |
rtpenc: packetizer for VC-2 HQ RTP payload format (draft v1)
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 7ba4a9a3a0..8279d595c4 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -485,6 +485,9 @@ static char *sdp_write_media_attributes(char *buff, int size, AVStream *st, int AVCodecParameters *p = st->codecpar; switch (p->codec_id) { + case AV_CODEC_ID_DIRAC: + av_strlcatf(buff, size, "a=rtpmap:%d VC2/90000\r\n", payload_type); + break; case AV_CODEC_ID_H264: { int mode = 1; if (fmt && fmt->oformat && fmt->oformat->priv_class && |