Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions obs-studio-server/source/osn-input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ void osn::Input::Create(void *data, const int64_t id, const std::vector<ipc::val
sourceId += "_v" + std::to_string(version);
}

// Before create so a crash in obs_source_create still records the source id.
blog(LOG_INFO, "Creating input source '%s' (name: '%s')", sourceId.c_str(), name.c_str());
Comment thread
summeroff marked this conversation as resolved.
obs_source_t *source = obs_source_create(sourceId.c_str(), name.c_str(), settings, hotkeys);
obs_data_release(hotkeys);
obs_data_release(settings);
Expand Down
Loading