From 39d8ea235cd367332186b1da37efc066cf25554d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 13 Mar 2020 08:03:06 -0700 Subject: [PATCH] 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. --- libobs/obs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs.c b/libobs/obs.c index 85d284ad1..c3c8bfc03 100644 --- a/libobs/obs.c +++ b/libobs/obs.c @@ -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 &&