On 18.08.2015 05:34, Michael Niedermayer wrote: > On Sat, Aug 08, 2015 at 01:31:51PM +0200, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> >> --- >> libavfilter/avfilter.c | 2 ++ >> 1 file changed, 2 insertions(+) > > tools/graph2dot fails to build without FF_API_AVFILTERPAD_PUBLIC > it seems
Yes, though it's only indirectly related to this patch. Anyway, patch for that attached. Best regards, Andreas
>From 5c8d576ed73499cb41d8b7c5952f5917bca0df22 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> Date: Tue, 18 Aug 2015 23:07:37 +0200 Subject: [PATCH] graph2dot: use avfilter_pad_get_name accessor function --- 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); -- 2.5.0
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel