[SCM] libav/experimental: Make graph2dot print information related to the link timebase.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:17:28 UTC 2013


The following commit has been merged in the experimental branch:
commit 47453c0e377badaf6b57396903bfecb4bad4d403
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Oct 10 22:26:17 2010 +0000

    Make graph2dot print information related to the link timebase.
    
    Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tools/graph2dot.c b/tools/graph2dot.c
index 57a25a7..a1a68be 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);
             }
         }
     }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list