mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Some media can read color info values from the bitstream and may partially set some of the SDR default values in Format.ColorInfo. Setting these default values for SDR can confuse some codecs and may also prevent adaptive ABR switches if not all ColorInfo values are set in exactly the same way. We can avoid any influence of HDR color info handling by disabling setting the color info MediaFormat keys for SDR video and also avoid codec reset at format changes if both formats are SDR with slightly different ColorInfo settings. To identify "SDR" ColorInfo instances, we need to do some fuzzy matching as many of the default values are assumed to match the SDR profile even if not set. Issue: androidx/media#1158 PiperOrigin-RevId: 617473937 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| lint-baseline.xml | ||
| proguard-rules.txt | ||
| README.md | ||