[FFmpeg-devel] [PATCH] Implement av_filter_next()

Michael Niedermayer michaelni
Tue Oct 27 23:21:34 CET 2009


On Tue, Oct 27, 2009 at 10:12:23PM +0000, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Tue, Oct 27, 2009 at 10:49:43PM +0100, Stefano Sabatini wrote:
> >> Hi,
> >> 
> >> makes possible to iterate through the registered filters.
> >
> > using avfilter->next directly achives that too
> 
> We already have _next() functions in lavc and lavf.  Are you saying we
> should remove those?  Also don't forget that there must be some way to
> obtain the first thing having a ->next field.

hmm, we could use that global variable that points to the first,
but i guess the function is nicer if we ever change the implementation
like an array of pointers that would keep the structs in read only shareable
state.

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

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- 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/20091027/a9b579e9/attachment.pgp>



More information about the ffmpeg-devel mailing list