You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_extractplanes: stop marking alphaextract filter as dynamic outputs
This commit is contained in:
@@ -388,9 +388,17 @@ static av_cold int init_alphaextract(AVFilterContext *ctx)
|
|||||||
|
|
||||||
s->requested_planes = PLANE_A;
|
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 = {
|
const AVFilter ff_vf_alphaextract = {
|
||||||
.name = "alphaextract",
|
.name = "alphaextract",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Extract an alpha channel as a "
|
.description = NULL_IF_CONFIG_SMALL("Extract an alpha channel as a "
|
||||||
@@ -399,7 +407,6 @@ const AVFilter ff_vf_alphaextract = {
|
|||||||
.init = init_alphaextract,
|
.init = init_alphaextract,
|
||||||
.query_formats = query_formats,
|
.query_formats = query_formats,
|
||||||
FILTER_INPUTS(extractplanes_inputs),
|
FILTER_INPUTS(extractplanes_inputs),
|
||||||
.outputs = NULL,
|
FILTER_OUTPUTS(alphaextract_outputs),
|
||||||
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
|
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_ALPHAEXTRACT_FILTER */
|
#endif /* CONFIG_ALPHAEXTRACT_FILTER */
|
||||||
|
Reference in New Issue
Block a user