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

Unified Diff: media/mojo/interfaces/renderer.mojom

Issue 2239243002: Interpolate media time for mojo rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moves media-time clamping to PipelineImpl Created 4 years, 3 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 | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/renderer.mojom
diff --git a/media/mojo/interfaces/renderer.mojom b/media/mojo/interfaces/renderer.mojom
index e290ed4c15b4b1c8721d27f67485b41773b07678..2bd42ea715ad88fc422c7014513c958715de44c7 100644
--- a/media/mojo/interfaces/renderer.mojom
+++ b/media/mojo/interfaces/renderer.mojom
@@ -43,9 +43,11 @@ interface RendererClient {
// calls to OnTimeUpdate().
// |max_time| is typically the media timestamp of the last audio frame
// buffered by the audio hardware.
+ // |capture_time| is monotonic clock time at which the times were captured.
// |max_time| must be greater or equal to |time|.
OnTimeUpdate(mojo.common.mojom.TimeDelta time,
- mojo.common.mojom.TimeDelta max_time);
+ mojo.common.mojom.TimeDelta max_time,
+ mojo.common.mojom.TimeTicks capture_time);
// Called to report buffering state changes, see media_types.mojom.
OnBufferingStateChange(BufferingState state);
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698