Merge pull request #1282 from computerquip-streamlabs/source-save-load-signal
libobs: Expose source save/load signal
This commit is contained in:
commit
57121478ac
@ -704,9 +704,6 @@ extern bool obs_source_init_context(struct obs_source *source,
|
||||
obs_data_t *settings, const char *name,
|
||||
obs_data_t *hotkey_data, bool private);
|
||||
|
||||
extern void obs_source_save(obs_source_t *source);
|
||||
extern void obs_source_load(obs_source_t *source);
|
||||
|
||||
extern bool obs_transition_init(obs_source_t *transition);
|
||||
extern void obs_transition_free(obs_source_t *transition);
|
||||
extern void obs_transition_tick(obs_source_t *transition);
|
||||
|
@ -586,6 +586,12 @@ EXPORT obs_data_t *obs_save_source(obs_source_t *source);
|
||||
/** Loads a source from settings data */
|
||||
EXPORT obs_source_t *obs_load_source(obs_data_t *data);
|
||||
|
||||
/** Send a save signal to sources */
|
||||
EXPORT void obs_source_save(obs_source_t *source);
|
||||
|
||||
/** Send a load signal to sources */
|
||||
EXPORT void obs_source_load(obs_source_t *source);
|
||||
|
||||
typedef void (*obs_load_source_cb)(void *private_data, obs_source_t *source);
|
||||
|
||||
/** Loads sources from a data array */
|
||||
|
Loading…
x
Reference in New Issue
Block a user