Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMLCodec: write HDR static metadata to config for VP9
- Loading branch information
1 parent
8d30f66
commit fb3ff50
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb3ff50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arthur-liberman on https://kodi.wiki/view/Samples#4K_.28UltraHD.29 there are 2 VP9 profile 2 samples that do not contain
contentLightMetadata
: "The Redwoods" and "The World in HDR".Can you please take a look at caec255 - I can see that with this patch HDR info is passed to kernel but cannot verify due to no HDR display.
fb3ff50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I actually checked these two videos. And when I didn't get HDR, I thought it was because these were in MKV container.
I'll make a new build later to see if this issue can be worked around, because right now the kernel expects to also get the content light metadata.
fb3ff50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the linked patch these videos play correctly on SDR TV, no complaints from the kernel and in dmesg I could see that the metadata was passed and interpreted by the kernel.
fb3ff50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this. I added your fix and also fixed the luminance and chromaticity metadata which was not passed correctly to the kernel in the original commit.
511afed
fb3ff50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!