mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
graph2dot: use avfilter_pad_get_name accessor function
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
e23a01c06d
commit
96f5fdebc3
@ -79,7 +79,8 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph)
|
||||
|
||||
fprintf(outfile, "\"%s\" -> \"%s\" [ label= \"inpad:%s -> outpad:%s\\n",
|
||||
filter_ctx_label, dst_filter_ctx_label,
|
||||
link->srcpad->name, link->dstpad->name);
|
||||
avfilter_pad_get_name(link->srcpad, 0),
|
||||
avfilter_pad_get_name(link->dstpad, 0));
|
||||
|
||||
if (link->type == AVMEDIA_TYPE_VIDEO) {
|
||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(link->format);
|
||||
|
Loading…
Reference in New Issue
Block a user