[FFmpeg-devel] [PATCH] allow to call rm_read_audio_stream_info() with NULL AVFormatcontext

Michael Niedermayer michaelni
Mon Nov 5 21:04:04 CET 2007


On Mon, Nov 05, 2007 at 09:54:38AM -0800, Ronald S. Bultje wrote:
> Hi Michael,
> 
> On 11/5/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> > thats all fine, but this mess will not enter svn, see the mms patches
> > which
> > are floating around, they dont use such hacks, implement RTSP as a
> > URLProtocol or if you prefer keep it as a demuxer but the rm demuxer must
> > be
> > a full complete instance no NULL contexts or missing or non working
> > ByteIOContext
> 
> 
> OK. I'll quote the FAQ here that rtsp is a demuxer worthy thingy here (and
> that's mostly true), so I suppose that means that the proper solution is to
> create a "fake" (i.e. a secondary, embedded in RDTContext) AVFormatContext,
> fill in the priv_data/iocontext and provide that to the rm_*() functions? (I
> just want to confirm I'm doing the right thing before I do it. :-).)

this sounds better than what you proposed originally

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071105/70eebdee/attachment.pgp>



More information about the ffmpeg-devel mailing list