Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: media/video/picture.h

Issue 806413004: Plumb allow_overlay flag for video path into cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed v4l2 Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index ec508ac310161fbb73fafd0f4e34b190e0645a30..2fe10bf299be582534686c56528a9bca41be8f9a 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -57,7 +57,8 @@ class MEDIA_EXPORT Picture {
public:
Picture(int32 picture_buffer_id,
int32 bitstream_buffer_id,
- const gfx::Rect& visible_rect);
+ const gfx::Rect& visible_rect,
+ bool allow_overlay);
// Returns the id of the picture buffer where this picture is contained.
int32 picture_buffer_id() const {
@@ -78,10 +79,13 @@ class MEDIA_EXPORT Picture {
// Picture contained in the PictureBuffer.
gfx::Rect visible_rect() const { return visible_rect_; }
+ bool allow_overlay() const { return allow_overlay_; }
+
private:
int32 picture_buffer_id_;
int32 bitstream_buffer_id_;
gfx::Rect visible_rect_;
+ bool allow_overlay_;
};
} // namespace media
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698