libobs: Don't signal "source_create" for private sources
This commit is contained in:
parent
4df7914767
commit
516c0de2e0
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue