@@ -321,13 +321,13 @@ namespace Plugin {
321
321
{
322
322
tvDimmingMode_t index = tvDimmingMode_MAX;
323
323
324
- if (mode.compare (" local " ) == 0 ) {
324
+ if (mode.compare (" Local " ) == 0 ) {
325
325
index=tvDimmingMode_Local;
326
326
}
327
- else if (mode.compare (" fixed " ) == 0 ) {
327
+ else if (mode.compare (" Fixed " ) == 0 ) {
328
328
index=tvDimmingMode_Fixed;
329
329
}
330
- else if (mode.compare (" global " ) == 0 ) {
330
+ else if (mode.compare (" Global " ) == 0 ) {
331
331
index=tvDimmingMode_Global;
332
332
}
333
333
else {
@@ -1514,13 +1514,13 @@ namespace Plugin {
1514
1514
return 0 ;
1515
1515
}
1516
1516
else if ( forParam.compare (" DimmingMode" ) == 0 ) {
1517
- if (strncmp (param.value , " fixed " , strlen (param.value ))==0 ) {
1517
+ if (strncmp (param.value , " Fixed " , strlen (param.value ))==0 ) {
1518
1518
value=tvDimmingMode_Fixed;
1519
1519
}
1520
- else if (strncmp (param.value , " local " , strlen (param.value ))==0 ) {
1520
+ else if (strncmp (param.value , " Local " , strlen (param.value ))==0 ) {
1521
1521
value=tvDimmingMode_Local;
1522
1522
}
1523
- else if (strncmp (param.value , " global " , strlen (param.value ))==0 ) {
1523
+ else if (strncmp (param.value , " Global " , strlen (param.value ))==0 ) {
1524
1524
value=tvDimmingMode_Global;
1525
1525
}
1526
1526
return 0 ;
@@ -1683,9 +1683,9 @@ namespace Plugin {
1683
1683
void AVOutputTV::getDimmingModeStringFromEnum (int value, std::string &toStore)
1684
1684
{
1685
1685
const char *color_temp_string[] = {
1686
- [tvDimmingMode_Fixed] = " fixed " ,
1687
- [tvDimmingMode_Local] = " local " ,
1688
- [tvDimmingMode_Global] = " global " ,
1686
+ [tvDimmingMode_Fixed] = " Fixed " ,
1687
+ [tvDimmingMode_Local] = " Local " ,
1688
+ [tvDimmingMode_Global] = " Global " ,
1689
1689
};
1690
1690
toStore.clear ();
1691
1691
toStore+=color_temp_string[value];
0 commit comments