Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index 0ffd0585cdb20d434760d8e6d654f753b1c4e9db..a5995be5cbe53056a31ab16405a10d1bf2f036e3 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -113,7 +113,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
const gfx::Rect& visible_rect, |
const gfx::Size& natural_size, |
base::TimeDelta timestamp, |
- const ReadPixelsCB& read_pixels_cb); |
+ const ReadPixelsCB& read_pixels_cb, |
+ bool allow_overlay); |
#if !defined(MEDIA_FOR_CAST_IOS) |
// Read pixels from the native texture backing |*this| and write |
@@ -298,6 +299,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// Returns the shared-memory handle, if present |
base::SharedMemoryHandle shared_memory_handle() const; |
+ 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; |
@@ -409,6 +412,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
const bool end_of_stream_; |
+ bool allow_overlay_; |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
}; |