Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index b84d77ca1f0fb8f89d8be5ad41a2fe6174059a60..5341c16d610bccc75715b2cc2cbc89d14d2ac628 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -72,6 +72,14 @@ class VideoFrame : public StreamSample { |
// StreamSample interface. |
virtual bool IsEndOfStream() const; |
+ int GetRepeatCount() const { |
+ return repeat_count_; |
+ } |
+ |
+ void SetRepeatCount(int repeat_count) { |
+ repeat_count_ = repeat_count; |
+ } |
+ |
private: |
// Clients must use the static CreateFrame() method to create a new frame. |
VideoFrame(Format format, |
@@ -103,6 +111,9 @@ class VideoFrame : public StreamSample { |
// Array of data pointers to each plane. |
uint8* data_[kMaxPlanes]; |
+ // Display meta data |
+ int repeat_count_; |
+ |
DISALLOW_COPY_AND_ASSIGN(VideoFrame); |
}; |