Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index ca2a2e28e0e05ffbcca8166c6994075abe167754..cb4c8f042b35f5b3e691700724ecd67d40c8bc1a 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -292,6 +292,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// Returns the shared-memory handle, if present |
base::SharedMemoryHandle shared_memory_handle() const; |
+ void set_allow_overlay(bool allow_overlay) { allow_overlay_ = allow_overlay; } |
+ bool allow_overlay() const { return allow_overlay_; } |
+ |
#if defined(OS_POSIX) |
// Returns backing dmabuf file descriptor for given |plane|, if present. |
int dmabuf_fd(size_t plane) const; |
@@ -403,6 +406,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
const bool end_of_stream_; |
+ bool allow_overlay_; |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
}; |