summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-11 00:57:35 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-11 01:04:45 +0200
commitb2d589188f36cc69ffb8148810dc706d82dcebf6 (patch)
tree8adcddbb4fa273dbf2656894c630847dfdfff675 /libavfilter
parentd5226fc575781a8066a92f1b635d82b68e4bc9df (diff)
lavfi/histogram: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c1
-rw-r--r--libavfilter/vf_histogram.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index e6d7f05301..e8f836a9a6 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "geq" ) ||
!strcmp(filter->filter->name, "gradfun" ) ||
!strcmp(filter->filter->name, "histeq" ) ||
+ !strcmp(filter->filter->name, "histogram" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "life" ) ||
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index b9cba6be1a..3c348858a6 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -311,8 +311,6 @@ static const AVFilterPad outputs[] = {
{ NULL }
};
-static const char *const shorthand[] = { NULL };
-
AVFilter avfilter_vf_histogram = {
.name = "histogram",
.description = NULL_IF_CONFIG_SMALL("Compute and draw a histogram."),
@@ -321,5 +319,4 @@ AVFilter avfilter_vf_histogram = {
.inputs = inputs,
.outputs = outputs,
.priv_class = &histogram_class,
- .shorthand = shorthand,
};