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

Unified Diff: media/base/video_frame.h

Issue 1669002: remove AVFrame Dependency (Closed)
Patch Set: more patch Created 10 years, 8 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 | « no previous file | media/base/video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698