Commit 47453c0e authored by Stefano Sabatini's avatar Stefano Sabatini

Make graph2dot print information related to the link timebase.

Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 867ae7aa
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment