[FFmpeg-cvslog] r25442 - trunk/tools/graph2dot.c

stefano subversion
Mon Oct 11 00:26:18 CEST 2010


Author: stefano
Date: Mon Oct 11 00:26:17 2010
New Revision: 25442

Log:
Make graph2dot print information related to the link timebase.

Modified:
   trunk/tools/graph2dot.c

Modified: trunk/tools/graph2dot.c
==============================================================================
--- trunk/tools/graph2dot.c	Mon Oct 11 00:26:14 2010	(r25441)
+++ trunk/tools/graph2dot.c	Mon Oct 11 00:26:17 2010	(r25442)
@@ -67,8 +67,9 @@ static void print_digraph(FILE *outfile,
                          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);
             }
         }
     }



More information about the ffmpeg-cvslog mailing list