feat(windows): hdr support

This commit is contained in:
edde746
2025-12-03 08:39:02 +01:00
parent ecf046a92d
commit dff51ca888
4 changed files with 69 additions and 4 deletions
+8
View File
@@ -83,6 +83,14 @@ class MpvPlayer {
uint64_t next_reply_userdata_ = 1;
std::map<std::string, uint64_t> observed_properties_;
// HDR state
bool hdr_enabled_ = true; // User preference
double last_sig_peak_ = 0.0; // Last known sig-peak for HDR content detection
// HDR methods
void SetHDREnabled(bool enabled);
void UpdateHDRMode(double sigPeak);
};
} // namespace mpv