summaryrefslogtreecommitdiff
path: root/libavfilter/af_apad.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-05-09 01:04:41 +0200
committerClément Bœsch <ubitux@gmail.com>2013-05-12 13:07:47 +0200
commit1776177b7f1ae67ad3b42d99464b141ee4082310 (patch)
tree1044d44ef5459e4706b639eea2923472420dcbd7 /libavfilter/af_apad.c
parent60f0e304312d0fe1d26f7344cb86dc4cdab52b15 (diff)
downloadffmpeg-1776177b7f1ae67ad3b42d99464b141ee4082310.tar.gz
lavfi: replace passthrough_filter_frame with a flag.
With the introduction of AVFilterContext->is_disabled, we can simplify the custom passthrough mode in filters. This commit is technically a small compat break, but the timeline was introduced very recently. Doxy by Stefano Sabatini.
Diffstat (limited to 'libavfilter/af_apad.c')
-rw-r--r--libavfilter/af_apad.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c
index 265b76a38d..710baaa104 100644
--- a/libavfilter/af_apad.c
+++ b/libavfilter/af_apad.c
@@ -131,7 +131,6 @@ static const AVFilterPad apad_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
- .passthrough_filter_frame = filter_frame,
},
{ NULL },
};
@@ -153,5 +152,5 @@ AVFilter avfilter_af_apad = {
.inputs = apad_inputs,
.outputs = apad_outputs,
.priv_class = &apad_class,
- .flags = AVFILTER_FLAG_SUPPORT_TIMELINE,
+ .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};