summaryrefslogtreecommitdiff
path: root/libavfilter/split.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-28 08:51:36 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:42:41 +0200
commit7cdd737ba81b5c2c9521c4509edf0ac315fabc65 (patch)
treed8947361ed1e2ca37eeca1bd86836769a66fa82c /libavfilter/split.c
parent1ba95a9cca57b023b9b9de071a5671fc05b05e58 (diff)
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.
Diffstat (limited to 'libavfilter/split.c')
-rw-r--r--libavfilter/split.c4
1 files changed, 4 insertions, 0 deletions
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,
};