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

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


Hi,

On Sat, Jan 31, 2009 at 8:00 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Jan 31, 2009 at 07:35:28PM -0500, Ronald S. Bultje wrote:
>> 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.
>
> of course
>
> why do they not have access to it? I mean why is RTSPState / AVFormatContext
> not passed to the respective functions?

Like I said, that's the alternative way of solving this. I just chose
this way because I thought it'd involve less coding changes, which
generally appears to be preferred in this community. I'll try your
suggested alternative approach now.

Thanks,
Ronald




More information about the ffmpeg-devel mailing list