[FFmpeg-devel] [PATCH 1/3] sdp: print a=framesize for MJPEG
Michael Niedermayer
michael at niedermayer.cc
Tue Jan 26 03:49:15 CET 2016
On Tue, Dec 08, 2015 at 02:10:31PM +0200, Andrey Utkin wrote:
> Signed-off-by: Andrey Utkin <andrey.utkin at corp.bluecherry.net>
> ---
> 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);
should this always be stored or only for dimensions which need it ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160126/99bc2ff5/attachment.sig>
More information about the ffmpeg-devel
mailing list