mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-02 10:25:51 -04:00
UI: Don't try to create service if missing file
This would cause meaningless "Service '' not found" log entries.
This commit is contained in:
1 parent
169764fc51
commit
aa313a1fb1
1 file changed
+3
@@ -1118,6 +1118,9 @@ bool OBSBasic::LoadService()
|
||||
obs_data_t *data =
|
||||
obs_data_create_from_json_file_safe(serviceJsonPath, "bak");
|
||||
|
||||
if (!data)
|
||||
return false;
|
||||
|
||||
obs_data_set_default_string(data, "type", "rtmp_common");
|
||||
type = obs_data_get_string(data, "type");
|
||||
|
||||
|
||||
Reference in new issue
Block a user