提交 6c702c3c 编写于 作者: M Michael Niedermayer

avfilter/avfilter: allow idet like scale to have parameter changes

Fixes assertion failure
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 56a33b23
......@@ -1163,7 +1163,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
/* Consistency checks */
if (link->type == AVMEDIA_TYPE_VIDEO) {
if (strcmp(link->dst->filter->name, "scale")) {
if (strcmp(link->dst->filter->name, "scale") &&
strcmp(link->dst->filter->name, "idet")) {
av_assert1(frame->format == link->format);
av_assert1(frame->width == link->w);
av_assert1(frame->height == link->h);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册