diff --git a/AVOutput/AVOutputTV.cpp b/AVOutput/AVOutputTV.cpp index 5ce7691e4..22cbf5fb1 100644 --- a/AVOutput/AVOutputTV.cpp +++ b/AVOutput/AVOutputTV.cpp @@ -2293,8 +2293,9 @@ namespace Plugin { return tvERROR_GENERAL; } - // Point the first element of dvModesArray to dvModes + // Point the first element of dvModesArray to dolbyModes and set the indicator dvModesArray[0] = dvModes; + dvModesArray[0][0] = tvDolbyMode_Dark; // Set an initial value to indicate the mode type tvError_t ret = GetTVSupportedDolbyVisionModes(dvModesArray, &totalAvailable); if(ret != tvERROR_NONE) { if (dvModes != NULL) { diff --git a/AVOutput/AVOutputTVHelper.cpp b/AVOutput/AVOutputTVHelper.cpp index eb08bcd07..d6a7c1be8 100644 --- a/AVOutput/AVOutputTVHelper.cpp +++ b/AVOutput/AVOutputTVHelper.cpp @@ -255,9 +255,10 @@ namespace Plugin { return tvERROR_GENERAL; } - // Point the first element of dolbyModesArray to dolbyModes - dolbyModesArray[0] = dolbyModes; - tvError_t ret = GetTVSupportedDolbyVisionModes(dolbyModesArray, &totalAvailable); + // Point the first element of dolbyModesArray to dolbyModes and set the indicator + dolbyModesArray[0] = dolbyModes; + dolbyModesArray[0][0] = tvDolbyMode_Dark; // Set an initial value to indicate the mode type + tvError_t ret = GetTVSupportedDolbyVisionModes(dolbyModesArray, &totalAvailable); if(ret == tvERROR_NONE) { for(int count = 0;count