提交 332359d2 编写于 作者: J jp9000

libobs: If filter size invalid, skip filter

This shouldn't happen anymore because crop was fixed, but if a filter
returns 0x0 size and is invalid it shouldn't stop the filter chain.
Instead, it should just be skipped.
上级 78d5e27a
......@@ -2424,6 +2424,11 @@ void obs_source_process_filter_begin(obs_source_t *filter,
return;
}
if (!cx || !cy) {
obs_source_skip_video_filter(filter);
return;
}
if (!filter->filter_texrender)
filter->filter_texrender = gs_texrender_create(format,
GS_ZS_NONE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册