diff options
author | Nicolas George <george@nsup.org> | 2016-12-20 17:13:04 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2017-01-12 14:06:16 +0100 |
commit | e7e4c8dfbe9d4be289d1181365fa6e5d9fef5349 (patch) | |
tree | d82a0ebba01a3e827ef692e9b5f8f6bbae4e11fa /libavfilter/filters.h | |
parent | 0e3d2496e2eec1c911b169682067d53ea9a0388c (diff) | |
download | ffmpeg-e7e4c8dfbe9d4be289d1181365fa6e5d9fef5349.tar.gz |
lavfi: add ff_inlink_evaluate_timeline_at_frame().
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r-- | libavfilter/filters.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h index 7535f1df90..0da1d8bd99 100644 --- a/libavfilter/filters.h +++ b/libavfilter/filters.h @@ -47,6 +47,14 @@ void ff_filter_set_ready(AVFilterContext *filter, unsigned priority); int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame); /** + * Evaluate the timeline expression of the link for the time and properties + * of the frame. + * @return >0 if enabled, 0 if disabled + * @note It does not update link->dst->is_disabled. + */ +int ff_inlink_evaluate_timeline_at_frame(AVFilterLink *link, const AVFrame *frame); + +/** * Make sure a frame is writable. * This is similar to av_frame_make_writable() except it uses the link's * buffer allocation callback, and therefore allows direct rendering. |