Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2016-12-20 18:53:23 +0300
committerNicolas George <george@nsup.org>2017-01-12 16:06:16 +0300
commit0e3d2496e2eec1c911b169682067d53ea9a0388c (patch)
treedbfdded20ac4e20d1f8b6f608fcfe7fdb81ceb22 /libavfilter/filters.h
parent846f1421349e923b100ce290ba25b5b5b897b437 (diff)
lavfi: add ff_inlink_process_commands().
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r--libavfilter/filters.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index 3036ba27a6..7535f1df90 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -40,6 +40,13 @@
void ff_filter_set_ready(AVFilterContext *filter, unsigned priority);
/**
+ * Process the commands queued in the link up to the time of the frame.
+ * Commands will trigger the process_command() callback.
+ * @return >= 0 or AVERROR code.
+ */
+int ff_inlink_process_commands(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.