[FFmpeg-devel] [PATCH] Playlist API

Aurelien Jacobs aurel
Sat Aug 8 15:04:03 CEST 2009


On Fri, Aug 07, 2009 at 07:14:35PM -0700, Geza Kovacs wrote:
> On 08/07/2009 06:00 PM, Michael Niedermayer wrote:
> >> Now the problem with this is of course that you'll hit MAX_STREAMS
> >> rather quickly,
> > 
> > well, yes, MAX_STREAMS should really be droped and replaced by a dynamically
> > allocated array, if your code depends on that you will have to implement that
> > unless someone has already done it and i forgot it ...
> > this does not seem like that much work, and it is something that will make
> > some peoplr happy even without playlists, we have at least one bug on roundup
> > due to it IIRC

Yes. It is issue963 [1].

> I see some discussion but not any patches, I'll work on fixing it then.

Attached is a WIP patch that remove most usage of MAX_STREAMS.
It is untested and certainly buggy, and should be split. But it may
be a good starting point for you. I fear I won't work on this patch anytime
soon...

Aurel

[1] http://roundup.ffmpeg.org/roundup/ffmpeg/issue963
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streams7.diff
Type: text/x-diff
Size: 16378 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090808/20da605e/attachment.diff>



More information about the ffmpeg-devel mailing list