1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Make graph2dot print information related to the link timebase.

Originally committed as revision 25442 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-10-10 22:26:17 +00:00
parent 867ae7aa5d
commit 47453c0e37

View 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);
}
}
}