[FFmpeg-cvslog] graph2dot: use avfilter_pad_get_name accessor function
Andreas Cadhalpun
git at videolan.org
Thu Aug 20 22:42:18 CEST 2015
ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Tue Aug 18 23:07:37 2015 +0200| [96f5fdebc3c6a424a5ef874b0a3f47d86ba639f3] | committer: Andreas Cadhalpun
graph2dot: use avfilter_pad_get_name accessor function
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96f5fdebc3c6a424a5ef874b0a3f47d86ba639f3
---
tools/graph2dot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/graph2dot.c b/tools/graph2dot.c
index 23c7331..21d0795 100644
--- a/tools/graph2dot.c
+++ b/tools/graph2dot.c
@@ -79,7 +79,8 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph)
fprintf(outfile, "\"%s\" -> \"%s\" [ label= \"inpad:%s -> outpad:%s\\n",
filter_ctx_label, dst_filter_ctx_label,
- link->srcpad->name, link->dstpad->name);
+ avfilter_pad_get_name(link->srcpad, 0),
+ avfilter_pad_get_name(link->dstpad, 0));
if (link->type == AVMEDIA_TYPE_VIDEO) {
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(link->format);
More information about the ffmpeg-cvslog
mailing list