summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-01-16 20:38:54 +0100
committerPaul B Mahol <onemda@gmail.com>2021-01-16 20:47:52 +0100
commitb7817f23c0e60082a546f441c783a70413fd904f (patch)
tree4dba2f7de962251620a783ec207b3a9c0edefe61 /libavfilter
parente722b443e462ba412c06ac27b3dff5686e322c9b (diff)
avfilter/vf_phase: add support for commands
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_phase.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
index 8536444db7..d4f580a609 100644
--- a/libavfilter/vf_phase.c
+++ b/libavfilter/vf_phase.c
@@ -74,7 +74,7 @@ typedef struct PhaseContext {
} PhaseContext;
#define OFFSET(x) offsetof(PhaseContext, x)
-#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
#define CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit }
static const AVOption phase_options[] = {
@@ -245,4 +245,5 @@ AVFilter ff_vf_phase = {
.inputs = phase_inputs,
.outputs = phase_outputs,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
+ .process_command = ff_filter_process_command,
};