History

avfilter/vf_w3fdif: add support for commands

Paul B Mahol committed 5 years ago

Commit 2f20e351 parent aea3cf42 files · +5 −1Browse files

Unified · Split

2 files
  1. doc/filters.texi +3 −0
  2. libavfilter/vf_w3fdif.c +2 −1
doc/filters.texi+3−0
@@ -20922,6 +20922,9 @@ Only deinterlace frames marked as interlaced. · 20921 unmodified lines
20922Default value is @samp{all}.20922Default value is @samp{all}.
20923@end table20923@end table
20924 20924
20925@subsection Commands
20926This filter supports same @ref{commands} as options.
20927
20925@section waveform20928@section waveform
20926Video waveform monitor.20929Video waveform monitor.
20927 20930
libavfilter/vf_w3fdif.c+2−1
@@ -49,7 +49,7 @@ typedef struct W3FDIFContext { · 48 unmodified lines
49} W3FDIFContext;49} W3FDIFContext;
50 50
51#define OFFSET(x) offsetof(W3FDIFContext, x)51#define OFFSET(x) offsetof(W3FDIFContext, x)
52#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM52#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
53#define CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit }53#define CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit }
54 54
55static const AVOption w3fdif_options[] = {55static const AVOption w3fdif_options[] = {
@@ -602,4 +602,5 @@ AVFilter ff_vf_w3fdif = { · 546 unmodified lines
602 .inputs = w3fdif_inputs,602 .inputs = w3fdif_inputs,
603 .outputs = w3fdif_outputs,603 .outputs = w3fdif_outputs,
604 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,604 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
605 .process_command = ff_filter_process_command,
605};606};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t