diff options
author | Nicolas George <george@nsup.org> | 2016-12-20 15:57:19 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2017-01-12 14:06:16 +0100 |
commit | 918891e1468f34b9f52423e1779f909ddd9dc34d (patch) | |
tree | 2a7b6b575d4e1beb1fecc7dcc38433a44fde53f9 /libavfilter/filters.h | |
parent | 4c24f3ac166a0138cd33de71674ab8b383f41e30 (diff) |
lavfi: export ff_filter_set_ready() to the library.
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r-- | libavfilter/filters.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h index d3c4c3085c..72e5676369 100644 --- a/libavfilter/filters.h +++ b/libavfilter/filters.h @@ -28,6 +28,18 @@ #include "avfilter.h" /** + * Mark a filter ready and schedule it for activation. + * + * This is automatically done when something happens to the filter (queued + * frame, status change, request on output). + * Filters implementing the activate callback can call it directly to + * perform one more round of processing later. + * It is also useful for filters reacting to external or asynchronous + * events. + */ +void ff_filter_set_ready(AVFilterContext *filter, unsigned priority); + +/** * Test and acknowledge the change of status on the link. * * Status means EOF or an error condition; a change from the normal (0) |