Browse Source

avfilter/vf_despill: add support for commands

tags/n4.4
Paul B Mahol 4 years ago
parent
commit
17a0dfebf5
2 changed files with 6 additions and 1 deletions
  1. +4
    -0
      doc/filters.texi
  2. +2
    -1
      libavfilter/vf_despill.c

+ 4
- 0
doc/filters.texi View File

@@ -9410,6 +9410,10 @@ Controls brightness of spill area, preserving colors.
Modify alpha from generated spillmap.
@end table

@subsection Commands

This filter supports the all above options as @ref{commands}.

@section detelecine

Apply an exact inverse of the telecine operation. It requires a predefined


+ 2
- 1
libavfilter/vf_despill.c View File

@@ -153,7 +153,7 @@ static const AVFilterPad despill_outputs[] = {
};

#define OFFSET(x) offsetof(DespillContext, 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

static const AVOption despill_options[] = {
{ "type", "set the screen type", OFFSET(type), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "type" },
@@ -179,5 +179,6 @@ AVFilter ff_vf_despill = {
.query_formats = query_formats,
.inputs = despill_inputs,
.outputs = despill_outputs,
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS,
};

Loading…
Cancel
Save