Fix hdrMode=1 query string to use Enable HDR checkbox - #242
Conversation
📝 WalkthroughWalkthroughThe pull request modifies MoonlightClient::StartStreaming to conditionally enable H.265 MAIN10 video format only when HDR is explicitly enabled, rather than enabling it by default for non-Xbox One VCR configurations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-02-27T02:36:15.388ZApplied to files:
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This fixes a bug where the weird hdrMode=1 query string, and other junk was always being sent. This broke Sunshine's "auto-switch-to-HDR" feature. Now the MAIN10 variant of H265 is only reported when the HDR checkbox is enabled.
Fixes #238
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.