diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-10 22:26:17 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-10 22:26:17 +0000 |
commit | 47453c0e377badaf6b57396903bfecb4bad4d403 (patch) | |
tree | 35b08f1068bece87824fc4f7f86050dffb8489da /tools | |
parent | 867ae7aa5d545414e7f42337479c8b6fd85db28f (diff) | |
download | ffmpeg-47453c0e377badaf6b57396903bfecb4bad4d403.tar.gz |
Make graph2dot print information related to the link timebase.
Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools')
-rw-r--r-- | tools/graph2dot.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } } } |