mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Issue #2101 - Part 5: Add ColorRange support to video decoders
This commit is contained in:
parent
b5f9e9abb6
commit
e59e8c3b2c
5 changed files with 10 additions and 0 deletions
|
|
@ -246,6 +246,8 @@ AOMDecoder::DoDecode(MediaRawData* aSample)
|
|||
LOG("Unhandled colorspace %d", img->mc);
|
||||
break;
|
||||
}
|
||||
b.mColorRange = img->range == AOM_CR_FULL_RANGE ? ColorRange::FULL
|
||||
: ColorRange::LIMITED;
|
||||
|
||||
RefPtr<VideoData> v =
|
||||
VideoData::CreateAndCopyData(mInfo,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue