From cea641d42942fd98eb5d4eacc715d8a9653bbff3 Mon Sep 17 00:00:00 2001 From: gramps Date: Mon, 5 Oct 2026 13:33:38 -0700 Subject: [PATCH] Log: include scene name and compositor source rect on pump start Adds scene name and comp={w}x{h} to the 'FramePump started' line to help correlate logs with backdrop geometry (for the 141ms/33ms puzzle). --- Services/Encoder/FramePump.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Services/Encoder/FramePump.cs b/Services/Encoder/FramePump.cs index 312d6a1..284fd9e 100644 --- a/Services/Encoder/FramePump.cs +++ b/Services/Encoder/FramePump.cs @@ -202,7 +202,11 @@ public sealed class FramePump : IDisposable // stats quantum fix made the wait VISIBLE; this removes its cause. // OBS's video threads are dedicated for exactly this reason. _pumpTask = Task.Run(() => PumpAsync(options, _cts.Token)); - _log?.Invoke($"FramePump started ({options.Width}×{options.Height} @ {options.Fps} fps)"); + var scene = _sceneProvider(); + var comp = _compositorOptions(); + _log?.Invoke($"FramePump started ({options.Width}×{options.Height} @ {options.Fps} fps)" + + (scene != null ? $" scene='{scene.Name}'" : "") + + $" comp={comp.SourceRectWidth}x{comp.SourceRectHeight}"); } catch (Exception ex) {