[FFmpeg-devel] [PATCH] RDT/Realmedia patches #2

Michael Niedermayer michaelni
Sat Dec 6 20:17:10 CET 2008


On Sun, Nov 30, 2008 at 09:47:16PM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Nov 30, 2008 at 6:58 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > looks ok
> 
> Then the next patch makes an array of real-demuxer contexts per
> PayloadContext. Like an RTSPStream and a RDTDemuxContext, a
> PayloadContext (in RDT) represents a set of streams of identical
> content, and can represent multiple AVStreams. Each should be
> represented by its own real demuxer context, since things such as
> audio codecs, bitrates and thus demuxer cache settings and state
> differ per stream within a set.
> 
> Ronald

> Index: ffmpeg-svn/libavformat/rdt.c
> ===================================================================
> --- ffmpeg-svn.orig/libavformat/rdt.c	2008-11-30 20:51:48.000000000 -0500
> +++ ffmpeg-svn/libavformat/rdt.c	2008-11-30 20:59:38.000000000 -0500
> @@ -80,7 +80,7 @@
>  }
>  
>  struct PayloadContext {
> -    AVFormatContext *rmctx;
> +    AVFormatContext *rmctx[MAX_STREAMS];

this is ugly and id like to hear why exactly you would need this

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- 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/20081206/2562a419/attachment.pgp>



More information about the ffmpeg-devel mailing list