avfilter/vf_extractplanes: stop marking alphaextract filter as dynamic outputs

pull/366/head
Paul B Mahol 3 years ago
parent 882045f3dd
commit b35653d4c4
  1. 13
      libavfilter/vf_extractplanes.c

@ -388,9 +388,17 @@ static av_cold int init_alphaextract(AVFilterContext *ctx)
s->requested_planes = PLANE_A;
return init(ctx);
return 0;
}
static const AVFilterPad alphaextract_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
};
const AVFilter ff_vf_alphaextract = {
.name = "alphaextract",
.description = NULL_IF_CONFIG_SMALL("Extract an alpha channel as a "
@ -399,7 +407,6 @@ const AVFilter ff_vf_alphaextract = {
.init = init_alphaextract,
.query_formats = query_formats,
FILTER_INPUTS(extractplanes_inputs),
.outputs = NULL,
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
FILTER_OUTPUTS(alphaextract_outputs),
};
#endif /* CONFIG_ALPHAEXTRACT_FILTER */

Loading…
Cancel
Save