Signed-off-by: Andrey Utkin <[email protected]>
---
libavformat/sdp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 2ab37a8..27112ef 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -657,6 +657,8 @@ static char *sdp_write_media_attributes(char *buff, int
size, AVCodecContext *c,
if (payload_type >= RTP_PT_PRIVATE)
av_strlcatf(buff, size, "a=rtpmap:%d JPEG/90000\r\n",
payload_type);
+ av_strlcatf(buff, size, "a=framesize:%d %d-%d\r\n",
+ payload_type, c->width, c->height);
break;
case AV_CODEC_ID_ADPCM_G722:
if (payload_type >= RTP_PT_PRIVATE)
--
2.6.3
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel