diff options
author | Thomas Volkert <thomas@homer-conferencing.com> | 2014-09-21 12:10:42 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-09-24 23:33:26 +0300 |
commit | ddf5fb71ee9c8b2d9a23c0f661a84896cd7050fc (patch) | |
tree | 5c37636b248cd6025ca45727d7b442e181f3ac76 /libavformat/sdp.c | |
parent | a2efbecc4ed12d287cf29856418c4da4a7648d95 (diff) | |
download | ffmpeg-ddf5fb71ee9c8b2d9a23c0f661a84896cd7050fc.tar.gz |
rtpenc: HEVC/H.265 support
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index a690219006..3c39ac7988 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -428,6 +428,12 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, payload_type, payload_type, c->width, c->height); break; + case AV_CODEC_ID_HEVC: + if (c->extradata_size) + av_log(NULL, AV_LOG_WARNING, "HEVC extradata not currently " + "passed properly through SDP\n"); + av_strlcatf(buff, size, "a=rtpmap:%d H265/90000\r\n", payload_type); + break; case AV_CODEC_ID_MPEG4: if (c->extradata_size) { config = extradata2config(c); |