[FFmpeg-devel] [PATCH] Add AVFilter.next field

Michael Niedermayer michaelni
Sat Oct 24 23:23:31 CEST 2009


On Sat, Oct 24, 2009 at 01:40:29AM +0200, Stefano Sabatini wrote:
> Hi all,
> 
> this simplify the code and should also simplify the av_filter_next()
> function which I'm going to implement, making it O(1) rather than
> O(N), and making the registration management similar to that
> implemented in the rest of libav*.
> 

> I don't know why the registration mechanism has been implemented like
> this in lavfi, so I may be un-aware of some specific reason.

The idea was that AVFilter should be possible to be put into read only
and shareable memory. A next that is written to breaks this.

note, i dont have a strong oppinion on this being worth the extra complexity

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

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20091024/ff07654a/attachment.pgp>



More information about the ffmpeg-devel mailing list