diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-01-17 12:22:28 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-17 12:22:28 +0100 |
commit | eb0f532c980747aea73b511f0c6c7ad9b9ea74b3 (patch) | |
tree | 3f97755ff14c1d64b95c257377e6e48747b813f2 /libavfilter | |
parent | 4f81e24c34068a7a80ee272ab1e9a7ff7acbd487 (diff) |
avfilter/vf_bbox: add support for commands
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_bbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c index 5f429fe4cd..acbb4ea16d 100644 --- a/libavfilter/vf_bbox.c +++ b/libavfilter/vf_bbox.c @@ -37,7 +37,7 @@ typedef struct BBoxContext { } BBoxContext; #define OFFSET(x) offsetof(BBoxContext, x) -#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM +#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM static const AVOption bbox_options[] = { { "min_val", "set minimum luminance value for bounding box", OFFSET(min_val), AV_OPT_TYPE_INT, { .i64 = 16 }, 0, UINT16_MAX, FLAGS }, @@ -162,4 +162,5 @@ AVFilter ff_vf_bbox = { .inputs = bbox_inputs, .outputs = bbox_outputs, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, + .process_command = ff_filter_process_command, }; |