diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-10-08 12:42:40 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-10-14 11:28:54 +0200 |
commit | a918b833a5ea640b6c8fa1125ae420999055b753 (patch) | |
tree | d1ef14f79e7a90dc76ce8de5fe880f1b5df48358 /libavfilter/internal.h | |
parent | f3746d31f9486bcc266f17738861cc8a5c9c1eb7 (diff) | |
download | ffmpeg-a918b833a5ea640b6c8fa1125ae420999055b753.tar.gz |
avfilter/avfilter: add ff_filter_process_command()
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 7 |
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. |