libobs: Add *_create_private functions

Allows creation of private/unlisted sources/outputs/services/encoders
This commit is contained in:
jp9000
2016-01-09 13:27:16 -08:00
parent bccd3b0b0a
commit 3371ff59c9
3 changed files with 39 additions and 12 deletions

View File

@@ -648,6 +648,8 @@ EXPORT const char *obs_source_get_display_name(const char *id);
EXPORT obs_source_t *obs_source_create(const char *id, const char *name,
obs_data_t *settings, obs_data_t *hotkey_data);
EXPORT obs_source_t *obs_source_create_private(const char *id,
const char *name, obs_data_t *settings);
/**
* Adds/releases a reference to a source. When the last reference is
* released, the source is destroyed.