mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-19 11:44:38 -04:00
libobs: Don't signal "source_create" for private sources
This commit is contained in:
@@ -347,10 +347,14 @@ static obs_source_t *obs_source_create_internal(const char *id,
|
||||
|
||||
blog(LOG_DEBUG, "%ssource '%s' (%s) created",
|
||||
private ? "private " : "", name, id);
|
||||
obs_source_dosignal(source, "source_create", NULL);
|
||||
|
||||
source->flags = source->default_flags;
|
||||
source->enabled = true;
|
||||
|
||||
if (!private) {
|
||||
obs_source_dosignal(source, "source_create", NULL);
|
||||
}
|
||||
|
||||
return source;
|
||||
|
||||
fail:
|
||||
|
||||
Reference in New Issue
Block a user