Check color space of video frames and use YUVColorSpace::Identity for RGB frames only. This patch also unifies color space setup for shm and non-shm video decoding paths.
- Implement TransferAVColorSpaceToColorSpace() to convert color space from AVColorSpace to gfx::YUVColorSpace. It also check color format and doesn't allow to mix YUV color space and RGB formats.
- Use TransferAVColorSpaceToColorSpace() in both shm and non-shm decoding paths.