MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / link_filter

Function link_filter

libavfilter/graphparser.c:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#define WHITESPACES " \n\t"
32
33static int link_filter(AVFilterContext *src, int srcpad,
34 AVFilterContext *dst, int dstpad,
35 AVClass *log_ctx)
36{
37 if(avfilter_link(src, srcpad, dst, dstpad)) {
38 av_log(log_ctx, AV_LOG_ERROR,
39 "cannot create the link %s:%d -> %s:%d\n",
40 src->filter->name, srcpad, dst->filter->name, dstpad);
41 return -1;
42 }
43
44 return 0;
45}
46
47/**
48 * Parse "[linkname]"

Callers 2

link_filter_inoutsFunction · 0.85
parse_outputsFunction · 0.85

Calls 2

avfilter_linkFunction · 0.85
av_logFunction · 0.85

Tested by

no test coverage detected