diff --git a/.github/workflows/L1-tests.yml b/.github/workflows/L1-tests.yml index d5748acf..0aaf227c 100755 --- a/.github/workflows/L1-tests.yml +++ b/.github/workflows/L1-tests.yml @@ -435,7 +435,7 @@ jobs: -DPLUGIN_AVINPUT=ON -DPLUGIN_HDMIINPUT=ON -DPLUGIN_HDCPPROFILE=ON - -DPLUGIN_HDMICECSOURCE=OFF + -DPLUGIN_HDMICECSOURCE=ON -DPLUGIN_HDMICECSINK=OFF -DUSE_THUNDER_R4=ON -DHIDE_NON_EXTERNAL_SYMBOLS=OFF @@ -513,7 +513,7 @@ jobs: -DPLUGIN_AVINPUT=ON -DPLUGIN_HDMIINPUT=ON -DPLUGIN_HDCPPROFILE=ON - -DPLUGIN_HDMICECSOURCE=OFF + -DPLUGIN_HDMICECSOURCE=ON -DPLUGIN_HDMICECSINK=OFF -DRDK_SERVICES_L1_TEST=ON -DUSE_THUNDER_R4=ON diff --git a/AVOutput/AVOutputTVHelper.cpp b/AVOutput/AVOutputTVHelper.cpp index 7e3b28c5..cc401a7a 100644 --- a/AVOutput/AVOutputTVHelper.cpp +++ b/AVOutput/AVOutputTVHelper.cpp @@ -321,13 +321,13 @@ namespace Plugin { { tvDimmingMode_t index = tvDimmingMode_MAX; - if(mode.compare("local") == 0 ) { + if(mode.compare("Local") == 0 ) { index=tvDimmingMode_Local; } - else if(mode.compare("fixed") == 0 ) { + else if(mode.compare("Fixed") == 0 ) { index=tvDimmingMode_Fixed; } - else if(mode.compare("global") == 0 ) { + else if(mode.compare("Global") == 0 ) { index=tvDimmingMode_Global; } else { @@ -1514,13 +1514,13 @@ namespace Plugin { return 0; } else if( forParam.compare("DimmingMode") == 0 ) { - if (strncmp(param.value, "fixed", strlen(param.value))==0) { + if (strncmp(param.value, "Fixed", strlen(param.value))==0) { value=tvDimmingMode_Fixed; } - else if (strncmp(param.value, "local", strlen(param.value))==0) { + else if (strncmp(param.value, "Local", strlen(param.value))==0) { value=tvDimmingMode_Local; } - else if (strncmp(param.value, "global", strlen(param.value))==0) { + else if (strncmp(param.value, "Global", strlen(param.value))==0) { value=tvDimmingMode_Global; } return 0; @@ -1683,9 +1683,9 @@ namespace Plugin { void AVOutputTV::getDimmingModeStringFromEnum(int value, std::string &toStore) { const char *color_temp_string[] = { - [tvDimmingMode_Fixed] = "fixed", - [tvDimmingMode_Local] = "local", - [tvDimmingMode_Global] = "global", + [tvDimmingMode_Fixed] = "Fixed", + [tvDimmingMode_Local] = "Local", + [tvDimmingMode_Global] = "Global", }; toStore.clear(); toStore+=color_temp_string[value]; diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ad3be23..83faa0b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [1.3.1](https://github.com/rdkcentral/entservices-inputoutput/compare/1.3.0...1.3.1) + +- RDKEMW-5512: Implement a fix for the SaveTVDimmingMode failure [`#157`](https://github.com/rdkcentral/entservices-inputoutput/pull/157) +- RDKEMW-1015 - Update gtest [`#155`](https://github.com/rdkcentral/entservices-inputoutput/pull/155) +- Merge tag '1.3.0' into develop [`2499e0b`](https://github.com/rdkcentral/entservices-inputoutput/commit/2499e0b71c2fbb9e9a303a342fbc4965da5b52c9) + #### [1.3.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.2.0...1.3.0) +> 20 June 2025 + - Feature/rdkemw 1015 comrpc [`#129`](https://github.com/rdkcentral/entservices-inputoutput/pull/129) - RDK-57440: Causing config issue for higher versions of cmake [`#146`](https://github.com/rdkcentral/entservices-inputoutput/pull/146) +- RDK-57440 - Changelog updates for 1.3.0 [`cc4f369`](https://github.com/rdkcentral/entservices-inputoutput/commit/cc4f36979ba5a25a4ae96005b7e2c6dce1523044) - Merge tag '1.2.0' into develop [`7b1dccc`](https://github.com/rdkcentral/entservices-inputoutput/commit/7b1dccc6d7bbba3fdf649c900ad15996e6424a27) #### [1.2.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.1.1...1.2.0) diff --git a/Tests/L1Tests/CMakeLists.txt b/Tests/L1Tests/CMakeLists.txt index 406598ac..2550627b 100755 --- a/Tests/L1Tests/CMakeLists.txt +++ b/Tests/L1Tests/CMakeLists.txt @@ -114,11 +114,10 @@ add_plugin_test_ex(PLUGIN_HDMIINPUT tests/test_HdmiInput.cpp "${HDMIINPUT_INC}" add_plugin_test_ex(PLUGIN_HDMICEC2 tests/test_HdmiCec2.cpp "../../HdmiCec_2" "${NAMESPACE}HdmiCec_2") # PLUGIN_HDMICECSINK -set (HDMICECSINK_INC ${CMAKE_SINK_DIR}/../entservices-inputoutput/HdmiCecSink ${CMAKE_SINK_DIR}/../entservices-inputoutput/helpers) +set (HDMICECSINK_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSink ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers) set (HDMICECSINK_LIBS ${NAMESPACE}HdmiCecSink ${NAMESPACE}HdmiCecSinkImplementation) add_plugin_test_ex(PLUGIN_HDMICECSINK tests/test_HdmiCecSink.cpp "${HDMICECSINK_INC}" "${HDMICECSINK_LIBS}") - # PLUGIN_HDMICECSOURCE set (HDMICECSOURCE_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSource ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers) set (HDMICECSOURCE_LIBS ${NAMESPACE}HdmiCecSource ${NAMESPACE}HdmiCecSourceImplementation) diff --git a/Tests/L1Tests/tests/test_HdmiCecSink.cpp b/Tests/L1Tests/tests/test_HdmiCecSink.cpp index 2f570df1..38631077 100755 --- a/Tests/L1Tests/tests/test_HdmiCecSink.cpp +++ b/Tests/L1Tests/tests/test_HdmiCecSink.cpp @@ -22,6 +22,9 @@ #include #include + +#include "HdmiCecSinkImplementation.h" +#include "HdmiCecSinkMock.h" #include "HdmiCecSink.h" #include "FactoriesImplementation.h" #include "IarmBusMock.h"