[FFmpeg-devel] [PATCH 2/4] lavfi: add priv_class for some forgotten filters.
Clément Bœsch
ubitux at gmail.com
Thu Nov 29 00:14:53 CET 2012
This allows to print the options available when using commands such as
ffmpeg -help full.
---
libavfilter/f_ebur128.c | 1 +
libavfilter/vf_delogo.c | 1 +
libavfilter/vf_edgedetect.c | 1 +
libavfilter/vsrc_mandelbrot.c | 1 +
libavfilter/vsrc_mptestsrc.c | 1 +
5 files changed, 5 insertions(+)
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index 2da7445..7fece13 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -747,4 +747,5 @@ AVFilter avfilter_af_ebur128 = {
.query_formats = query_formats,
.inputs = ebur128_inputs,
.outputs = NULL,
+ .priv_class = &ebur128_class,
};
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index 6c74b75..3c9843f 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -283,4 +283,5 @@ AVFilter avfilter_vf_delogo = {
.inputs = avfilter_vf_delogo_inputs,
.outputs = avfilter_vf_delogo_outputs,
+ .priv_class = &delogo_class,
};
diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c
index b3a906b..5837ccc 100644
--- a/libavfilter/vf_edgedetect.c
+++ b/libavfilter/vf_edgedetect.c
@@ -327,4 +327,5 @@ AVFilter avfilter_vf_edgedetect = {
.query_formats = query_formats,
.inputs = edgedetect_inputs,
.outputs = edgedetect_outputs,
+ .priv_class = &edgedetect_class,
};
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 661f9dd..db7c9ca 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -417,4 +417,5 @@ AVFilter avfilter_vsrc_mandelbrot = {
.query_formats = query_formats,
.inputs = NULL,
.outputs = mandelbrot_outputs,
+ .priv_class = &mandelbrot_class,
};
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index ae78272..fa41e68 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -384,4 +384,5 @@ AVFilter avfilter_vsrc_mptestsrc = {
.inputs = NULL,
.outputs = mptestsrc_outputs,
+ .priv_class = &mptestsrc_class,
};
--
1.8.0.1
More information about the ffmpeg-devel
mailing list