| Index: media/base/video_frame.h
|
| diff --git a/media/base/video_frame.h b/media/base/video_frame.h
|
| index 09d1ca51b9d0991a985cc8fdd1efa655cabc4dc8..e85d30d974f0187ca089146a5910c9a625652e27 100644
|
| --- a/media/base/video_frame.h
|
| +++ b/media/base/video_frame.h
|
| @@ -21,6 +21,7 @@
|
| #include "gpu/command_buffer/common/mailbox_holder.h"
|
| #include "media/base/video_frame_metadata.h"
|
| #include "media/base/video_types.h"
|
| +#include "ui/gfx/color_space.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/gpu_memory_buffer.h"
|
| @@ -322,6 +323,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
|
| // accessed via data(), visible_data() etc.
|
| bool HasTextures() const;
|
|
|
| + // Returns the color space of this frame's content.
|
| + gfx::ColorSpace ColorSpace() const;
|
| +
|
| VideoPixelFormat format() const { return format_; }
|
| StorageType storage_type() const { return storage_type_; }
|
|
|
|
|