[FFmpeg-devel] [PATCH] RTSP-MS 13/15: transport context

Ronald S. Bultje rsbultje
Sun Feb 1 01:35:28 CET 2009


On Sat, Jan 31, 2009 at 7:28 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> I dont have a clear understanding or the RTP/RTSP code and so i wont
> approve patches to it except for the parts that i do understand.
> Your explanation above is lacking badly at many points, example being
> "In my parse_packet() implementation for the RTP/ASF payloads, I want
>  to use a value from the RTSP demuxer's RTSPState"
> which value? and why? the whole just smells even without understanding
> the whole picture it feels very hackish.

For ASF-over-RTP, I use the ASF demuxer for all ASF-related stuff. I
store the ASF demuxer context in the RTSP demuxer "private" context
(RTSPState)->asf_ctx, so that it's shared between all streams in the
session. That value needs to be accessible from the streams.


More information about the ffmpeg-devel mailing list