@@ -296,13 +296,13 @@ namespace Plugin {
296
296
{
297
297
tvDimmingMode_t index = tvDimmingMode_MAX;
298
298
299
- if (mode.compare (" local " ) == 0 ) {
299
+ if (mode.compare (" Local " ) == 0 ) {
300
300
index=tvDimmingMode_Local;
301
301
}
302
- else if (mode.compare (" fixed " ) == 0 ) {
302
+ else if (mode.compare (" Fixed " ) == 0 ) {
303
303
index=tvDimmingMode_Fixed;
304
304
}
305
- else if (mode.compare (" global " ) == 0 ) {
305
+ else if (mode.compare (" Global " ) == 0 ) {
306
306
index=tvDimmingMode_Global;
307
307
}
308
308
else {
@@ -1469,13 +1469,13 @@ namespace Plugin {
1469
1469
return 0 ;
1470
1470
}
1471
1471
else if ( forParam.compare (" DimmingMode" ) == 0 ) {
1472
- if (strncmp (param.value , " fixed " , strlen (param.value ))==0 ) {
1472
+ if (strncmp (param.value , " Fixed " , strlen (param.value ))==0 ) {
1473
1473
value=tvDimmingMode_Fixed;
1474
1474
}
1475
- else if (strncmp (param.value , " local " , strlen (param.value ))==0 ) {
1475
+ else if (strncmp (param.value , " Local " , strlen (param.value ))==0 ) {
1476
1476
value=tvDimmingMode_Local;
1477
1477
}
1478
- else if (strncmp (param.value , " global " , strlen (param.value ))==0 ) {
1478
+ else if (strncmp (param.value , " Global " , strlen (param.value ))==0 ) {
1479
1479
value=tvDimmingMode_Global;
1480
1480
}
1481
1481
return 0 ;
@@ -1612,9 +1612,9 @@ namespace Plugin {
1612
1612
void AVOutputTV::getDimmingModeStringFromEnum (int value, std::string &toStore)
1613
1613
{
1614
1614
const char *color_temp_string[] = {
1615
- [tvDimmingMode_Fixed] = " fixed " ,
1616
- [tvDimmingMode_Local] = " local " ,
1617
- [tvDimmingMode_Global] = " global " ,
1615
+ [tvDimmingMode_Fixed] = " Fixed " ,
1616
+ [tvDimmingMode_Local] = " Local " ,
1617
+ [tvDimmingMode_Global] = " Global " ,
1618
1618
};
1619
1619
toStore.clear ();
1620
1620
toStore+=color_temp_string[value];
0 commit comments