Skip to content

Commit 91046ea

Browse files
authored
Merge pull request #223 from rdkcentral/feature/RDKEMW-6681_Dolby_issue
RDKEMW-6681: getDolbyVisionMode api fails to return "Dark/Bright" in …
2 parents 1659f19 + 9db7ba4 commit 91046ea

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

AVOutput/AVOutputTV.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,6 +2252,7 @@ namespace Plugin {
22522252
paramIndex_t indexInfo;
22532253
int dolbyMode = 0;
22542254
int err = 0;
2255+
tvVideoFormatType_t video_type = VIDEO_FORMAT_NONE;
22552256

22562257
if (parsingGetInputArgument(parameters, "DolbyVisionMode",inputInfo) != 0) {
22572258
LOGINFO("%s: Failed to parse argument\n", __FUNCTION__);
@@ -2262,6 +2263,12 @@ namespace Plugin {
22622263
returnResponse(false);
22632264
}
22642265

2266+
GetCurrentVideoFormat(&video_type);
2267+
if(video_type != VIDEO_FORMAT_DV)
2268+
{
2269+
LOGERR("%s: Invalid video format: %d \n", __FUNCTION__,video_type);
2270+
returnResponse(false);
2271+
}
22652272

22662273
if (getParamIndex("DolbyVisionMode",inputInfo,indexInfo) == -1) {
22672274
LOGERR("%s: getParamIndex failed to get \n", __FUNCTION__);

AVOutput/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ All notable changes to this RDK Service will be documented in this file.
1414

1515
* Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.
1616

17+
## [1.1.3] - 2025-08-08
18+
### Fixed
19+
- Fixed getDolbyVisionMode() for non DV content
20+
1721
## [1.1.2] - 2025-07-01
1822
### Fixed
1923
- Phase2 ODM

0 commit comments

Comments
 (0)