avfilter/vsrc_testsrc: mark zoneplate as full range

This commit is contained in:
Paul B Mahol 2023-05-10 15:13:43 +02:00
parent 5b300b69a6
commit 0412e1dc80

View File

@ -2167,6 +2167,7 @@ ZONEPLATE_SLICE(16, uint16_t)
static void zoneplate_fill_picture(AVFilterContext *ctx, AVFrame *frame)
{
TestSourceContext *test = ctx->priv;
frame->color_range = AVCOL_RANGE_JPEG;
ff_filter_execute(ctx, test->fill_slice_fn, frame, NULL,
FFMIN(frame->height, ff_filter_get_nb_threads(ctx)));
}