Commit 80f539ea authored by Fredrik Hubinette's avatar Fredrik Hubinette Committed by Commit Bot

Deprecate media::ColorSpace and VideoFrameMetadata::COLOR_SPACE

Bug: 754986
Change-Id: I66fafcea2b851e371473893bd23fe36b17354069
Reviewed-on: https://chromium-review.googlesource.com/999041Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Commit-Queue: Fredrik Hubinette <hubbe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548655}
parent fad03c4c
......@@ -34,6 +34,7 @@ class MEDIA_EXPORT VideoFrameMetadata {
// Some VideoFrames have an indication of the color space used. Use
// GetInteger()/SetInteger() and ColorSpace enumeration.
// Reading this metadata is deprecated, use frame->ColorSpace() instead.
COLOR_SPACE,
// Indicates that this frame must be copied to a new texture before use,
......
......@@ -73,6 +73,7 @@ enum VideoPixelFormat {
// Color space or color range used for the pixels.
// Logged to UMA, so never reuse values. Leave gaps if necessary.
// This enum is deprecated, use VideoColorSpace or gfx::ColorSpace instead.
enum ColorSpace {
COLOR_SPACE_UNSPECIFIED = 0, // In general this is Rec601.
// The JPEG color space is the combination of Rec.601 and full range colors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment