Make graph2dot print information related to the link timebase.

Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Stefano Sabatini 14 years ago
parent 867ae7aa5d
commit 47453c0e37
  1. 5
      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);
}
}
}

Loading…
Cancel
Save