Unified · Split
| @@ -583,6 +583,9 @@ static int export_pass(AVFilterContext *ctx, void *arg, · 582 unmodified lines | ||
| 583 | 583 | for (int plane = 0; plane < s->nb_planes; plane++) { |
| 584 | 584 | PlaneContext *p = &s->planes[plane]; |
| 585 | 585 | |
| 586 | + if (!((1 << plane) & s->planesf) || ctx->is_disabled) | |
| 587 | + continue; | |
| 588 | + | |
| 586 | 589 | export_plane(s, out->data[plane], out->linesize[plane], |
| 587 | 590 | p->buffer[CURRENT], p->buffer_linesize, plane, |
| 588 | 591 | jobnr, nb_jobs); |