diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-05 11:43:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-05 11:43:27 +0200 |
commit | 5d859e59809f38334592fc43f8ae70a23b5a9597 (patch) | |
tree | b8bf7bc4dca88d0aeec1845182c96b42a1f18982 | |
parent | da8eb70dc3fcf51dcf686f17a3e55b4b8696b156 (diff) | |
download | ffmpeg-5d859e59809f38334592fc43f8ae70a23b5a9597.tar.gz |
avfilter/avfilter: Add a few more basic filters to the list which support frame size changes
Fixes assertion failures
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavfilter/avfilter.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 4d833f0544..843ac98919 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1161,8 +1161,11 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame) /* Consistency checks */ if (link->type == AVMEDIA_TYPE_VIDEO) { - if (strcmp(link->dst->filter->name, "scale") && - strcmp(link->dst->filter->name, "idet")) { + if (strcmp(link->dst->filter->name, "buffersink") && + strcmp(link->dst->filter->name, "format") && + strcmp(link->dst->filter->name, "idet") && + strcmp(link->dst->filter->name, "null") && + strcmp(link->dst->filter->name, "scale")) { av_assert1(frame->format == link->format); av_assert1(frame->width == link->w); av_assert1(frame->height == link->h); |