[FFmpeg-devel] [PATCH] RTSP-MS 5-6/15: parse only the last m= line stream per rtpmap line

Ronald S. Bultje rsbultje
Tue Jan 6 06:00:37 CET 2009


Hi,

as can be seen in [1] (see my recent post in [2]), RTSP-MS SDP
contains one rtpmap: line per m=, and this rtpmap is generally the
same. My impression is that this is true for all RTSP streams, and the
ffmpeg implementation indeed only supports rtpmap lines coming after
m= lines. However, rtsp.c loops over all streams and reinits each of
them if the rtpmap code matches that stream code, leading to unneeded
reinitializations for previous streams. the attached patch fixes that.
A second patch (6/15) reindents after this patch.

Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-ms-parse-only-one-m-line-per-rtpmap.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090106/c6d7d098/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: post-rtpmap-reindent.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090106/c6d7d098/attachment.txt>



More information about the ffmpeg-devel mailing list