libobs: Allow "private" contexts

The intention of this is to allow sources/outputs/etc to be created
without being visible to the UI or save/load functions.
This commit is contained in:
jp9000
2016-01-09 13:05:44 -08:00
parent 669da7ba36
commit bccd3b0b0a
6 changed files with 28 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ obs_service_t *obs_service_create(const char *id, const char *name,
service = bzalloc(sizeof(struct obs_service));
if (!obs_context_data_init(&service->context, settings, name,
hotkey_data)) {
hotkey_data, false)) {
bfree(service);
return NULL;
}