From 82faf5ea428558d05081b2d0dd308f1832b37c5b Mon Sep 17 00:00:00 2001 From: "rileya@chromium.org" Date: Sat, 3 May 2014 02:25:58 +0000 Subject: Support videos with JPEG color range in GPU YUV convert path. It's worth noting that the media_browsertests Yuv* tests compare video pixels with a reference image, but whether or not the hardware path is used, copying the pixels from the video into a canvas goes through the software path, so despite looking correct onscreen when GPU-accelerated, the JPEG color range video tests will still fail until the software path properly supports the JPEG color range. BUG=172898 Review URL: https://codereview.chromium.org/92703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268010 0039d316-1c4b-4281-b951-d872f2087c98 --- media/base/video_frame.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'media/base/video_frame.cc') diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc index 3d01455..44f46d1 100644 --- a/media/base/video_frame.cc +++ b/media/base/video_frame.cc @@ -560,6 +560,7 @@ int VideoFrame::rows(size_t plane) const { return height; // Fallthrough. case YV12: + case YV12J: case I420: if (plane == kYPlane) return height; -- cgit v1.1