Skip to content

Commit

Permalink
В статистику включаем ACM если он включен и HDR поддерживается и выкл…
Browse files Browse the repository at this point in the history
…ючен.
  • Loading branch information
Aleksoid1978 committed Jan 11, 2025
1 parent c6a5663 commit 3b7ec69
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Source/VideoProcessor.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) 2020-2024 see Authors.txt
* (C) 2020-2025 see Authors.txt
*
* This file is part of MPC-BE.
*
Expand Down Expand Up @@ -158,8 +158,10 @@ void CVideoProcessor::SetDisplayInfo(const DisplayConfig_t& dc, const bool prima
if (colenc) {
str = std::format(L"\n Color: {} {}-bit", colenc, dc.bitsPerChannel);
if (dc.HDRSupported()) {
str.append(L" HDR10: ");
str.append(dc.HDREnabled() ? L"on" : L"off");
str.append(std::format(L" HDR10: {}", dc.HDREnabled() ? L"on" : L"off"));
if (!dc.HDREnabled() && dc.ACMEnabled()) {
str.append(L" ACM: on");
}
}
}
}
Expand Down

0 comments on commit 3b7ec69

Please sign in to comment.