]> git.sesse.net Git - ffmpeg/commit
lavfi: do not call ff_filter_frame() with activate.
authorNicolas George <george@nsup.org>
Sat, 24 Dec 2016 12:17:21 +0000 (13:17 +0100)
committerNicolas George <george@nsup.org>
Thu, 12 Jan 2017 13:06:16 +0000 (14:06 +0100)
commit32c59a115d3cc757676b5384a5ea44b5a7a7b872
treed2722b5332b0883bd5d67b40dcfcd8e12360d021
parentc619a4e5259b6304475d889d0eae8ff661d518a7
lavfi: do not call ff_filter_frame() with activate.

avfilter_graph_request_oldest() does work that should be done by
either the filter or the application.

The principle of this function, calling ff_request_frame() from
outside the filter was always shaky. This version is less elegant
since it requires making special cases for each filter, but it
is more robust since it no longer calls ff_request_frame()
directly without notifying the filter.

Eventually, avfilter_graph_request_oldest() will be deprecated
for a function to just run the graph.
libavfilter/avfiltergraph.c