mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs: Add missing function definition
obs_get_source_defaults was missing the definition for the function.
This commit is contained in:
@@ -369,6 +369,13 @@ obs_data_t *obs_source_settings(enum obs_source_type type, const char *id)
|
||||
return (info) ? get_defaults(info) : NULL;
|
||||
}
|
||||
|
||||
obs_data_t *obs_get_source_defaults(enum obs_source_type type,
|
||||
const char *id)
|
||||
{
|
||||
const struct obs_source_info *info = get_source_info(type, id);
|
||||
return info ? get_defaults(info) : NULL;
|
||||
}
|
||||
|
||||
obs_properties_t *obs_get_source_properties(enum obs_source_type type,
|
||||
const char *id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user