]> git.sesse.net Git - ffmpeg/commitdiff
Make graph2dot print information related to the link timebase.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 10 Oct 2010 22:26:17 +0000 (22:26 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 10 Oct 2010 22:26:17 +0000 (22:26 +0000)
Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/graph2dot.c

index 57a25a73cb1ba45f9ca710a7690c4064c0aa45b8..a1a68be30c19f4f989814a1eeaf9e651441c0767 100644 (file)
@@ -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);
             }
         }
     }