Skip to content

Remove black frame mechanism from FrameBuffer#134

Draft
lkang-nuro wants to merge 1 commit intomasterfrom
remove-black-frame
Draft

Remove black frame mechanism from FrameBuffer#134
lkang-nuro wants to merge 1 commit intomasterfrom
remove-black-frame

Conversation

@lkang-nuro
Copy link

Read() now blocks until a real frame arrives instead of returning a synthetic black frame on timeout. This eliminates the sharedBlackFrame global singleton (which had a dimension-coupling bug for multi-resolution use), the initialized/uninitialized state, and the ErrNoFrameAvailable error that callers had to special-case.

Description

Reference issue

Fixes #...

Read() now blocks until a real frame arrives instead of returning a
synthetic black frame on timeout. This eliminates the sharedBlackFrame
global singleton (which had a dimension-coupling bug for multi-resolution
use), the initialized/uninitialized state, and the ErrNoFrameAvailable
error that callers had to special-case.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lkang-nuro lkang-nuro force-pushed the remove-black-frame branch from 35c6d16 to 2715415 Compare March 4, 2026 21:48
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