mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-28 02:06:12 -04:00
libobs: Add obs_save_sources_filtered (skip)
(Note: This commit breaks UI compilation. Skip if bisecting) Adds a means of saving specific sources that the front-end chooses, rather than being forced to use the now-removed "user list".
This commit is contained in:
@@ -560,6 +560,10 @@ EXPORT void obs_load_sources(obs_data_array_t *array);
|
||||
/** Saves sources to a data array */
|
||||
EXPORT obs_data_array_t *obs_save_sources(void);
|
||||
|
||||
typedef bool (*obs_save_source_filter_cb)(void *data, obs_source_t *source);
|
||||
EXPORT obs_data_array_t *obs_save_sources_filtered(obs_save_source_filter_cb cb,
|
||||
void *data);
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* View context */
|
||||
|
||||
Reference in New Issue
Block a user