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

Unified Diff: media/base/video_frame_metadata.h

Issue 1265433003: Preliminary change for new rtc rendering algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move render_time to metadata Created 5 years, 5 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
Index: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index bd330f0ed3bfa598ded89b9cc9915a58e7405ca0..caf583bf77529d5ce2f45d7490eb56c39b4c347f 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -68,6 +68,16 @@ class MEDIA_EXPORT VideoFrameMetadata {
// measurements would be used as feedback.
RESOURCE_UTILIZATION,
+ // Render side: a TimeTicks that records the ideal time instant to render
+ // the current frame.
+ // Capture side: a TimeTicks that records the capture time.
+ REFERENCE_TIME,
+
+ // A TimeDelta measuring the time between the current frame and the first
+ // frame of the stream.
+ // TODO(qiangchen): Move VideoFrame::timestamp() to this KEY.
+ ELAPSED_TIME,
+
NUM_KEYS
};
« content/renderer/media/webrtc/media_stream_remote_video_source.cc ('K') | « media/base/video_frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698