From 47453c0e377badaf6b57396903bfecb4bad4d403 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 10 Oct 2010 22:26:17 +0000 Subject: Make graph2dot print information related to the link timebase. Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/graph2dot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/graph2dot.c') diff --git a/tools/graph2dot.c b/tools/graph2dot.c index 57a25a73cb..a1a68be30c 100644 --- a/tools/graph2dot.c +++ b/tools/graph2dot.c @@ -67,8 +67,9 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph) dst_filter_ctx->filter->name); fprintf(outfile, "\"%s\" -> \"%s\"", filter_ctx_label, dst_filter_ctx_label); - fprintf(outfile, " [ label= \"fmt:%s w:%d h:%d\"];\n", - av_pix_fmt_descriptors[link->format].name, link->w, link->h); + fprintf(outfile, " [ label= \"fmt:%s w:%d h:%d tb:%d/%d\" ];\n", + av_pix_fmt_descriptors[link->format].name, link->w, link->h, + link->time_base.num, link->time_base.den); } } } -- cgit v1.2.3