avfilter/vf_fftdnoiz: fix missing funcionality

This commit is contained in:
Paul B Mahol 2021-10-18 21:32:06 +02:00
parent 025ae145de
commit 374d646930
1 changed files with 3 additions and 0 deletions

View File

@ -583,6 +583,9 @@ static int export_pass(AVFilterContext *ctx, void *arg,
for (int plane = 0; plane < s->nb_planes; plane++) { for (int plane = 0; plane < s->nb_planes; plane++) {
PlaneContext *p = &s->planes[plane]; PlaneContext *p = &s->planes[plane];
if (!((1 << plane) & s->planesf) || ctx->is_disabled)
continue;
export_plane(s, out->data[plane], out->linesize[plane], export_plane(s, out->data[plane], out->linesize[plane],
p->buffer[CURRENT], p->buffer_linesize, plane, p->buffer[CURRENT], p->buffer_linesize, plane,
jobnr, nb_jobs); jobnr, nb_jobs);