mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-29 19:22:36 +08:00
libobs: Add UUIDs to obs_source objects
This commit is contained in:
@@ -52,7 +52,7 @@ static bool init_encoder(struct obs_encoder *encoder, const char *name,
|
||||
pthread_mutex_init_value(&encoder->pause.mutex);
|
||||
|
||||
if (!obs_context_data_init(&encoder->context, OBS_OBJ_TYPE_ENCODER,
|
||||
settings, name, hotkey_data, false))
|
||||
settings, name, NULL, hotkey_data, false))
|
||||
return false;
|
||||
if (pthread_mutex_init_recursive(&encoder->init_mutex) != 0)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user