1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/vf_yaepblur: fix naming of filter class

This commit is contained in:
Paul B Mahol 2020-07-20 16:12:56 +02:00
parent ba31fdfd7b
commit c4c989c7ca

View File

@ -323,7 +323,7 @@ static const AVFilterPad yaep_outputs[] = {
#define OFFSET(x) offsetof(YAEPContext, x)
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
static const AVOption yaep_options[] = {
static const AVOption yaepblur_options[] = {
{ "radius", "set window radius", OFFSET(radius), AV_OPT_TYPE_INT, {.i64=3}, 0, INT_MAX, .flags=FLAGS },
{ "r" , "set window radius", OFFSET(radius), AV_OPT_TYPE_INT, {.i64=3}, 0, INT_MAX, .flags=FLAGS },
{ "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=1}, 0, 0xF, .flags=FLAGS },
@ -333,13 +333,13 @@ static const AVOption yaep_options[] = {
{ NULL }
};
AVFILTER_DEFINE_CLASS(yaep);
AVFILTER_DEFINE_CLASS(yaepblur);
AVFilter ff_vf_yaepblur = {
.name = "yaepblur",
.description = NULL_IF_CONFIG_SMALL("Yet another edge preserving blur filter."),
.priv_size = sizeof(YAEPContext),
.priv_class = &yaep_class,
.priv_class = &yaepblur_class,
.uninit = uninit,
.query_formats = query_formats,
.inputs = yaep_inputs,