Try fix #814
This commit is contained in:
+3
-3
@@ -523,9 +523,9 @@ namespace proc {
|
|||||||
if (config::video.dd.hdr_option == config::video_t::dd_t::hdr_option_e::automatic) {
|
if (config::video.dd.hdr_option == config::video_t::dd_t::hdr_option_e::automatic) {
|
||||||
mode_changed_display = currentDisplay;
|
mode_changed_display = currentDisplay;
|
||||||
|
|
||||||
if (!VDISPLAY::setDisplayHDRByName(currentDisplayW.c_str(), false)) {
|
// Try turn off HDR whatever
|
||||||
return;
|
// As we always have to apply the workaround by turining off HDR first
|
||||||
}
|
VDISPLAY::setDisplayHDRByName(currentDisplayW.c_str(), false);
|
||||||
|
|
||||||
if (enable_hdr) {
|
if (enable_hdr) {
|
||||||
if (VDISPLAY::setDisplayHDRByName(currentDisplayW.c_str(), true)) {
|
if (VDISPLAY::setDisplayHDRByName(currentDisplayW.c_str(), true)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user