libobs: Do not try to render audio-only sources

This commit is contained in:
jp9000 2015-06-19 21:50:50 -07:00
parent e45f9f1b9a
commit d9c7290891

View File

@ -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);