Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
graph2dot: use avfilter_pad_get_name accessor function
Browse files Browse the repository at this point in the history
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
  • Loading branch information
Andreas Cadhalpun authored and Andreas Cadhalpun committed Aug 20, 2015
1 parent e23a01c commit 96f5fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/graph2dot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96f5fde

Please sign in to comment.