X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tools%2Fgraph2dot.c;h=766afdb0500b598de078d8706775d55e10544bbf;hb=52673ab18a8f241e37aea83236ffe0fa84b78655;hp=b67e5970980084a34786daefc364c9723b80bbcb;hpb=9a5f61ac62ab1a191f0ea81caef1e386a4c1e242;p=ffmpeg diff --git a/tools/graph2dot.c b/tools/graph2dot.c index b67e5970980..766afdb0500 100644 --- a/tools/graph2dot.c +++ b/tools/graph2dot.c @@ -75,9 +75,10 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph) } else if (link->type == AVMEDIA_TYPE_AUDIO) { char buf[255]; av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout); - fprintf(outfile, " [ label= \"fmt:%s sr:%"PRId64" cl:%s\" ]", + fprintf(outfile, " [ label= \"fmt:%s sr:%"PRId64" cl:%s tb:%d/%d\" ]", av_get_sample_fmt_name(link->format), - link->sample_rate, buf); + link->sample_rate, buf, + link->time_base.num, link->time_base.den); } fprintf(outfile, ";\n"); }