提交 d9c72908 编写于 作者: J jp9000

libobs: Do not try to render audio-only sources

上级 e45f9f1b
......@@ -1398,6 +1398,9 @@ void obs_source_video_render(obs_source_t *source)
{
if (!source) return;
if ((source->info.output_flags & OBS_SOURCE_VIDEO) == 0)
return;
if (!source->context.data || !source->enabled) {
if (source->filter_parent)
obs_source_skip_video_filter(source);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册