libobs: Fix filter color space passthrough

Need to chain against target instead of parent.
master
jpark37 2022-08-11 09:07:55 -07:00 committed by Jim
parent a9b83c7ffd
commit 64ef93a29d
1 changed files with 2 additions and 2 deletions

View File

@ -2895,9 +2895,9 @@ obs_source_get_color_space(obs_source_t *source, size_t count,
}
if (!source->context.data || !source->enabled) {
if (source->filter_parent)
if (source->filter_target)
return obs_source_get_color_space(
source->filter_parent, count, preferred_spaces);
source->filter_target, count, preferred_spaces);
}
if (source->info.output_flags & OBS_SOURCE_ASYNC) {