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:
parent
49bd76755b
commit
39d8ea235c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue