Skip to content

fix(display): an SDR master's refusal no longer latches the HDR route (#535) - #749

Merged
superuser404notfound merged 1 commit into
mainfrom
fix/535-latch-hdr-master-only
Oct 12, 2026
Merged

superuser404notfound merged 1 commit into
mainfrom
fix/535-latch-hdr-master-only

Conversation

@superuser404notfound

Copy link
Copy Markdown
Owner

Refs #535.

fallBackToMediaPlaylist latched panelRefusedHDRMaster on any display rejection taken on an HDR-eligible display, without checking what the refused master advertised. cmcpherson274's last five rounds show the latched line on two SDR titles' -11848 refusals (7.15.1, 7.17.1). A refusal of a VIDEO-RANGE=SDR master says nothing about HDR presentation, yet it routed every later HDR title in that process media-direct until the next background.

  • MasterFallbackDecision.shouldLatchPanelRefusal takes servedMasterIsHDR and requires it.
  • The call site reads session.servedSourceIsHDR (the served VIDEO-RANGE) and logs an SDR refusal on its own line: SDR master refused (code=…); this item falls back, an SDR refusal does not latch the HDR route (#535).
  • The item's media fallback is unchanged.

Tests: Issue535RefusalNeedsEligibilityTests gains the SDR case and the call-site check; Issue667MasterAfterSwitchTests updated for the new parameter.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS

…#535)

`fallBackToMediaPlaylist` latched `panelRefusedHDRMaster` on any -11868/-11848
taken on an eligible display, whatever range the refused master advertised.
cmcpherson274's device logs show the latched line on two SDR titles' -11848
refusals (7.15.1, 7.17.1), which then sent every later HDR title in the process
media-direct until the next background. The gate now also requires the served
master to have advertised VIDEO-RANGE other than SDR, and an SDR refusal logs
its own line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS
@superuser404notfound
superuser404notfound merged commit 004eea2 into main Oct 12, 2026
4 checks passed
@superuser404notfound
superuser404notfound deleted the fix/535-latch-hdr-master-only branch October 13, 2026 06:38
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