summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-08 12:42:40 +0200
committerPaul B Mahol <onemda@gmail.com>2019-10-14 11:28:54 +0200
commita918b833a5ea640b6c8fa1125ae420999055b753 (patch)
treed1ef14f79e7a90dc76ce8de5fe880f1b5df48358 /libavfilter/internal.h
parentf3746d31f9486bcc266f17738861cc8a5c9c1eb7 (diff)
avfilter/avfilter: add ff_filter_process_command()
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 498bd3328d..1d77808082 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -412,6 +412,13 @@ static inline int ff_norm_qscale(int qscale, int type)
int ff_filter_get_nb_threads(AVFilterContext *ctx);
/**
+ * Generic processing of user supplied commands that are set
+ * in the same way as the filter options.
+ */
+int ff_filter_process_command(AVFilterContext *ctx, const char *cmd,
+ const char *arg, char *res, int res_len, int flags);
+
+/**
* Perform any additional setup required for hardware frames.
*
* link->hw_frames_ctx must be set before calling this function.