From 338cbff242bba9270451f6cd172241dfe09dead8 Mon Sep 17 00:00:00 2001 From: u3shit Date: Fri, 24 Feb 2023 23:30:39 +0100 Subject: Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV convert --- dom/media/MediaData.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'dom/media') 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) { -- cgit v1.2.3