Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index cebed0af11a47aea5537b92346d97cebae1ef05f..512f6aad37f5dea0e3b58b020a9239fc5cf96392 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -109,7 +109,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
const gfx::Rect& visible_rect, |
const gfx::Size& natural_size, |
base::TimeDelta timestamp, |
- bool allow_overlay); |
+ bool allow_overlay, |
+ bool has_alpha); |
// Wraps packed image data residing in a memory buffer with a VideoFrame. |
// The image data resides in |data| and is assumed to be packed tightly in a |
@@ -300,6 +301,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
bool allow_overlay() const { return allow_overlay_; } |
+ bool has_alpha() const { return has_alpha_; } |
+ |
#if defined(OS_POSIX) |
// Returns backing dmabuf file descriptor for given |plane|, if present. |
int dmabuf_fd(size_t plane) const; |
@@ -416,6 +419,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
VideoFrameMetadata metadata_; |
bool allow_overlay_; |
+ bool has_alpha_; |
DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
}; |