<div>So I've got a problem where the graph is not properly configured.</div><div><br></div><div>I noticed that add_filter was alrdy called by create_filter so I removed those calls.</div><div><br></div><div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;">snprintf(buffer_args, sizeof(buffer_args), "%d:%d:%d:%d:%d:%d:%d", 720, 576, PIX_FMT_YUV410P, 0, 0, 0, 0); // I don't need correct pts and aspect_ratio for resulting frames
snprintf(yadif_args, sizeof(yadif_args), "%d:%d", 1, 1);

avfilter_graph_create_filter(&video_in_filter,              avfilter_get_by_name("buffer"),   "src",             buffer_args, NULL, graph_.get());      
avfilter_graph_create_filter(&video_yadif_filter,   avfilter_get_by_name("yadif"),    "deinterlace", yadif_args, NULL, graph_.get());
avfilter_graph_create_filter(&video_out_filter,             avfilter_get_by_name("nullsink"), "out",             NULL, NULL, graph_.get());

avfilter_graph_config(graph_.get(), NULL);</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;"><br></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;">However, when running my code I get the error "output pad "default for the filter "src" fo type "buffer" not connected to nay destination".</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;">I assume I get this error since I'm missing avfilter_graph_parse() or something equivalent. </span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;"><br></span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; white-space: pre-wrap; ">avfilter_graph_parse is  a bit unintuitive for me. Would you mind explaining how it works or at least how I should use it for my scenario? I'm mostly confused in regards to what the argument "filters" should contain.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; white-space: pre-wrap;"><br></span></font></div></div>