Commits f864d5f2f4859 and af57af3079ddb added two methods to media::VideoFrame: A ColorSpace() and a set_color_space() method. However, this metadata was already provided in VideoFrameMetadata (under the COLOR_SPACE key), and has many referents.
We need to remove one of the duplicates, and update client code. If the color space is a mandatory attribute of VideoFrames, then it should probably be a property in the VideoFrame class. If it is optional (or only mandatory in some situations), then it should probably be in VideoFrameMetadata.
In addition, this new property should be reflected in the mojo struct traits for VideoFrame (src/media/mojo/interfaces/video_frame_struct_traits.*), if the decision is to put it in the VideoFrame class.
Comment 1 by m...@chromium.org
, Aug 12 2017