Index: media/gpu/h264_dpb.h |
diff --git a/media/gpu/h264_dpb.h b/media/gpu/h264_dpb.h |
index aef39a1bc5d517dcb86209b290671a856571ca0c..3ef9be5a380069c95a8d6be0d1e1d85c866ede0e 100644 |
--- a/media/gpu/h264_dpb.h |
+++ b/media/gpu/h264_dpb.h |
@@ -15,6 +15,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "media/filters/h264_parser.h" |
+#include "ui/gfx/geometry/rect.h" |
namespace media { |
@@ -84,6 +85,11 @@ class H264Picture : public base::RefCounted<H264Picture> { |
// Position in DPB (i.e. index in DPB). |
int dpb_position; |
+ // The visible size of picture. This could be either parsed from SPS, 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<H264Picture>; |
virtual ~H264Picture(); |