summaryrefslogtreecommitdiff
path: root/dom/media
diff options
context:
space:
mode:
authoru3shit <u3shit@gmail.com>2023-02-24 23:30:39 +0100
committerMoonchild <moonchild@palemoon.org>2023-02-26 19:42:04 +0100
commit338cbff242bba9270451f6cd172241dfe09dead8 (patch)
treee76e5e3760d74f7dec96b141db65603ab5f5fbdc /dom/media
parentc03bb68372d7034408c2ae04a51d7d1340ad37c3 (diff)
downloaduxp-338cbff242bba9270451f6cd172241dfe09dead8.tar.gz
Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV convert
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/MediaData.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/media/MediaData.cpp b/dom/media/MediaData.cpp
index fb3eff7b51..4852ea486b 100644
--- a/dom/media/MediaData.cpp
+++ b/dom/media/MediaData.cpp
@@ -207,6 +207,7 @@ bool VideoData::SetVideoDataToImage(PlanarYCbCrImage* aVideoImage,
data.mPicSize = aPicture.Size();
data.mStereoMode = aInfo.mStereoMode;
data.mYUVColorSpace = aBuffer.mYUVColorSpace;
+ data.mColorRange = aBuffer.mColorRange;
aVideoImage->SetDelayedConversion(true);
if (aCopyData) {