[FFmpeg-devel] [PATCH] Implement av_filter_next()
Måns Rullgård
mans
Tue Oct 27 23:43:32 CET 2009
Michael Niedermayer <michaelni at gmx.at> writes:
> 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,
We removed the global variable from the public API about a year ago,
and for good reason.
> 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.
That's one good reason.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list