(API Change) libobs: Remove source_type param from functions
(Note: test and UI are also modified by this commit) API Changed (removed "enum obs_source_type type" parameter): ------------------------- obs_source_get_display_name obs_source_create obs_get_source_output_flags obs_get_source_defaults obs_get_source_properties Removes the "type" parameter from these functions. The "type" parameter really doesn't serve much of a purpose being a parameter in any of these cases, the type is just to indicate what it's used for.
This commit is contained in:
@@ -711,9 +711,8 @@ const struct obs_source_info scene_info =
|
||||
|
||||
obs_scene_t *obs_scene_create(const char *name)
|
||||
{
|
||||
struct obs_source *source =
|
||||
obs_source_create(OBS_SOURCE_TYPE_INPUT, "scene", name, NULL,
|
||||
NULL);
|
||||
struct obs_source *source = obs_source_create("scene", name, NULL,
|
||||
NULL);
|
||||
return source->context.data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user