<HTML><BODY><div>Sorry if the question is stupid )) but I didn't find how to do it</div><div> </div><div>I am using AVFilterContext for scaling because it is multithreaded but still slow and I want to specify SWS_FAST_BILINEAR</div><div>I'm trying to specify this (scale work), but I get an error: No such filter: 'sws_flags'</div><div> </div><div><div><div>        char args[512];</div><div>…</div></div><div><div>        snprintf(args, sizeof(args), "scale=%d:%d,sws_flags=1",</div><div>                pCdcCtxOut->width, pCdcCtxOut->height);</div><div>        if ((rt = avfilter_graph_parse_ptr(pFltGph, args, &pFltInp, &pFltOut, NULL)) < 0)</div><div>        {</div><div>            PrintError("Error avfilter_graph_parse_ptr", rt);</div><div>            goto FILTER_END;</div><div>        }</div></div></div><div> </div></BODY></HTML>