libobs: Fix another group id comparison

Fixes a group id comparison where it was comparing the pointer of the
group name rather than the string contents itself, causing it to treat
it as a non-group source.
This commit is contained in:
jp9000
2020-03-13 08:03:06 -07:00
parent 49bd76755b
commit 39d8ea235c

View File

@@ -1504,7 +1504,7 @@ void obs_enum_sources(bool (*enum_proc)(void *, obs_source_t *), void *param)
obs_source_t *next_source =
(obs_source_t *)source->context.next;
if (source->info.id == group_info.id &&
if (strcmp(source->info.id, group_info.id) == 0 &&
!enum_proc(param, source)) {
break;
} else if (source->info.type == OBS_SOURCE_TYPE_INPUT &&