From e023514af687379a11526d96afdc000d908eb47c Mon Sep 17 00:00:00 2001 From: Vladimir Sumarov Date: Tue, 2 Jun 2026 14:25:39 -0700 Subject: [PATCH] osn-input: log source id before creating input Records the source id (after the _vN suffix) before obs_source_create, so a crash during creation leaves the offending source as the last line in the log. Input::Create is infrequent, so the INFO log is cheap. Co-Authored-By: Claude Opus 4.8 (1M context) --- obs-studio-server/source/osn-input.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs-studio-server/source/osn-input.cpp b/obs-studio-server/source/osn-input.cpp index db034f2f1..b20c4a3bd 100644 --- a/obs-studio-server/source/osn-input.cpp +++ b/obs-studio-server/source/osn-input.cpp @@ -117,6 +117,8 @@ void osn::Input::Create(void *data, const int64_t id, const std::vector