Skip to content

OCTO-11594 Fix SCC reader inserting phantom BREAK nodes on simultaneo… - #426

Merged
OlteanuRares merged 5 commits into
mainfrom
OCTO-11594
Aug 25, 2026
Merged

OlteanuRares merged 5 commits into
mainfrom
OCTO-11594

Conversation

@OlteanuRares

@OlteanuRares OlteanuRares commented Aug 25, 2026

Copy link
Copy Markdown
Contributor
  • Fix SCCReader inserting phantom BREAK nodes when two independent,
    simultaneously-timed paint-on captions sit at different screen positions and the PAC sequence between them has a small row jump (1-3 rows). This previously inflated a single-line cue into a multi-line cue with leading/trailing   lines, and could overlap or reposition adjacent co-timed captions in WebVTTWriter output.
  • The fix covers this both when the row jump lands on top of an already pending, unconsumed repositioning (a same-row column jump with no text written yet), and when a single PAC jumps row (1-3) and column (more than a tab offset) at the same time with no preceding PAC involved.
    Both cases are now correctly classified as a repositioning rather than a line break.
  • The column-jump check is scoped strictly to paint-on mode, since only paint-on can display independent, simultaneously-timed regions at unrelated columns — pop-on and roll-up buffers legitimately use large column shifts between wrapped lines of the same cue, and remain unaffected.

@OlteanuRares
OlteanuRares requested a review from a team as a code owner August 25, 2026 06:47
@github-actions

Copy link
Copy Markdown

🟢 PR Compliance Review

Risk Level: LOW

  • Compliance Issues: 0 (0 critical)
  • Regressions: 0

SAFE TO MERGE - No critical issues found

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟡 PR Compliance Review

Risk Level: MEDIUM

  • Compliance Issues: 0 (0 critical)
  • Regressions: 2

REVIEW REQUIRED - Address issues before merging

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟡 PR Compliance Review

Risk Level: MEDIUM

  • Compliance Issues: 0 (0 critical)
  • Regressions: 2

REVIEW REQUIRED - Address issues before merging

Full report available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🟡 PR Compliance Review

Risk Level: MEDIUM

  • Compliance Issues: 0 (0 critical)
  • Regressions: 2

REVIEW REQUIRED - Address issues before merging

Full report available in workflow artifacts

dianadersedan
dianadersedan previously approved these changes Aug 25, 2026
@github-actions

Copy link
Copy Markdown

🟡 PR Compliance Review

Risk Level: MEDIUM

  • Compliance Issues: 0 (0 critical)
  • Regressions: 2

REVIEW REQUIRED - Address issues before merging

Full report available in workflow artifacts

@OlteanuRares
OlteanuRares merged commit 2ab1585 into main Aug 25, 2026
4 checks passed
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.

2 participants