提交 260f1960 编写于 作者: Z Zhong Li

lavf/vaapi_deinterlace: return error if mode unsupported

Reviewed-by: NMark Thompson <sw@jkqxz.net>
Signed-off-by: NFuwei Tang <fuweix.tang@intel.com>
Signed-off-by: NZhong Li <zhong.li@intel.com>
上级 74cf2dc3
......@@ -113,6 +113,7 @@ static int deint_vaapi_build_filter_params(AVFilterContext *avctx)
av_log(avctx, AV_LOG_ERROR, "Deinterlacing mode %d (%s) is "
"not supported.\n", ctx->mode,
deint_vaapi_mode_name(ctx->mode));
return AVERROR(EINVAL);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册