Skip to content

Fix browser video lighting with window area selection - #63

Merged
mskutin merged 1 commit into
mainfrom
codex/window-video-area
Oct 19, 2026
Merged

mskutin merged 1 commit into
mainfrom
codex/window-video-area

Conversation

@mskutin

@mskutin mskutin commented Oct 19, 2026

Copy link
Copy Markdown
Owner

When a video plays inside a browser page, whole-window edge sampling follows the white page margins and toolbars instead of the video. Add an optional area within a selected window, with an explicit in-memory still preview and drag/percentage selection, so users can sample the video itself. Window capture follows the visible tab; the UI explains when to reselect after layout changes.

The crop stays local, scales with the window, preserves physical LED routing, and applies before black-bar detection. Changing it requires Start / Retry. Windows preview and lighting share the same capture backend and exclude texture pixels outside ContentSize. Existing source settings remain compatible. Prepare release 0.16.2 and update the capture guide and release notes.

Validation:

  • 106 native tests passed; strict Clippy and formatting passed.
  • Real Windows Graphics Capture fixture reproduced white margins around orange video, verified orange cropped output and preview, live red/blue changes, larger/smaller resizes, and closure. No USB or audio recording.
  • Browser UI tests passed: explicit-only preview, drag selection, reopen/refresh preservation, late-response rejection, manual fallback, clearing the crop, and narrow layout.
  • 24 release, publishing, and installer tests passed; version consistency verified.

Physical macOS/Linux window capture and the user's actual browser/LED combination still need hands-on validation; the platform build matrix runs on this PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T15:51:18.430505Z e7eb8d7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mskutin
mskutin merged commit 575bc11 into main Oct 19, 2026
9 checks passed
@mskutin
mskutin deleted the codex/window-video-area branch October 19, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant