Repository navigation
fix: Improve video view buffering and message logging - #558
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Swing frame conversion and pixel copying now run outside the display lock, so painting and clearing can proceed while conversion is in progress. Frames interrupted by clear() are discarded.
Both video views validate dimensions using long arithmetic, enforce a configurable pixel limit up to 3840 × 2160, and reuse direct buffers across resolution changes and clear(). The guide documents the combined image and conversion-buffer memory cost.
Message.toString() now reports only type and byte length. Explicit diagnostic previews are bounded, escape control characters, and support application-defined masking.
All 22 targeted Swing, JavaFX, and Message tests passed using existing local build artifacts. The changed classes also compile for their supported Java versions. The regular Maven run could not resolve the local snapshot dependencies.