On Wed, Jan 31, 2024 at 12:17 PM Niklas Haas <ffm...@haasn.xyz> wrote: > > From: Niklas Haas <g...@haasn.dev> > > diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c > index fe7e6ace27..37110bc32f 100644 > --- a/libavfilter/vf_drawtext.c > +++ b/libavfilter/vf_drawtext.c > @@ -1152,7 +1152,7 @@ static int config_input(AVFilterLink *inlink) > char *expr; > int ret; > > - ff_draw_init(&s->dc, inlink->format, FF_DRAW_PROCESS_ALPHA); > + ff_draw_init(&s->dc, inlink->format, inlink->colorspace, > inlink->color_range, FF_DRAW_PROCESS_ALPHA);
Should this be ff_draw_init2? > ff_draw_color(&s->dc, &s->fontcolor, s->fontcolor.rgba); > ff_draw_color(&s->dc, &s->shadowcolor, s->shadowcolor.rgba); > ff_draw_color(&s->dc, &s->bordercolor, s->bordercolor.rgba); _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".