Index: media/gpu/vp9_picture.h |
diff --git a/media/gpu/vp9_picture.h b/media/gpu/vp9_picture.h |
index 7c026fa2ea91b1c72d9014dba623a61da5bd8230..5b774ce062b9b028f65b9e3f44ff12425d8290fd 100644 |
--- a/media/gpu/vp9_picture.h |
+++ b/media/gpu/vp9_picture.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "media/filters/vp9_parser.h" |
+#include "ui/gfx/geometry/rect.h" |
namespace media { |
@@ -25,6 +26,11 @@ class VP9Picture : public base::RefCounted<VP9Picture> { |
std::unique_ptr<Vp9FrameHeader> frame_hdr; |
+ // The visible size of picture. This could be either parsed from frame |
+ // header, or set to gfx::Rect(0, 0) for indicating the client using the |
+ // visible size extracted from the container instead. |
+ gfx::Rect visible_rect; |
+ |
protected: |
friend class base::RefCounted<VP9Picture>; |
virtual ~VP9Picture(); |