From 7cdd737ba81b5c2c9521c4509edf0ac315fabc65 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 28 Mar 2013 08:51:36 +0100 Subject: lavfi: mark filters with dynamic number of inputs or outputs with special flags This will be useful in avtools in the following commits. Any other caller might also want to know this information. --- libavfilter/split.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavfilter/split.c') diff --git a/libavfilter/split.c b/libavfilter/split.c index 7e8b4cc24f..8c03de5b17 100644 --- a/libavfilter/split.c +++ b/libavfilter/split.c @@ -129,6 +129,8 @@ AVFilter avfilter_vf_split = { .inputs = avfilter_vf_split_inputs, .outputs = NULL, + + .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS, }; static const AVFilterPad avfilter_af_asplit_inputs[] = { @@ -153,4 +155,6 @@ AVFilter avfilter_af_asplit = { .inputs = avfilter_af_asplit_inputs, .outputs = NULL, + + .flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS, }; -- cgit v1.2.3