(API Change) libobs: Add hotkey data to *_create functions

This commit is contained in:
Palana
2014-11-01 21:41:17 +01:00
parent d0cae31a48
commit 1d39c3e9b6
15 changed files with 68 additions and 52 deletions

View File

@@ -473,7 +473,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);
obs_source_create(OBS_SOURCE_TYPE_INPUT, "scene", name, NULL,
NULL);
return source->context.data;
}