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

Unified Diff: mojo/services/media/common/interfaces/timelines.mojom

Issue 2006093004: Motown: Convert MediaSink to expose MediaTimelineControlSite (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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: mojo/services/media/common/interfaces/timelines.mojom
diff --git a/mojo/services/media/common/interfaces/timelines.mojom b/mojo/services/media/common/interfaces/timelines.mojom
index 39e4aef395670437e49838c629c84bc3ab9bdc8c..13477122391606fb53593868e5154ec5c5da53b6 100644
--- a/mojo/services/media/common/interfaces/timelines.mojom
+++ b/mojo/services/media/common/interfaces/timelines.mojom
@@ -40,15 +40,18 @@ struct TimelineTransform {
// A push-mode consumer of timeline updates.
interface TimelineConsumer {
- // Sets the timeline transform at the indicated effective time. Exactly one
- // of the effective_*_time values must be kUnspecifiedTime.
+ // Sets the timeline transform at the indicated effective time. At least one
+ // of the effective_*_time values must be kUnspecifiedTime. If both are
+ // kUnspecifiedTime, the requested change is implemented as soon as possible.
// effective_subject_time can only be specified if the current subject_delta
// isn’t zero. reference_delta may not be zero. subject_time may be
// kUnspecifiedTime to indicate that the new transform subject_time should
- // be inferred from the effective time. The new transform reference_time is
- // always inferred from the effective time. The callback is called at the
- // effective time or when a pending operation is cancelled due to a
- // subsequent call, in which case the 'completed' value is false.
+ // be inferred from the effective time. The reference time for the new
+ // transform (the reference time that will correspond to the specified or
+ // inferred subject_time) is always inferred from the effective time. The
+ // callback is called at the effective time or when a pending operation is
+ // cancelled due to a subsequent call, in which case the 'completed' value is
+ // false.
SetTimelineTransform(
int64 subject_time,
uint32 reference_delta,

Powered by Google App Engine
This is Rietveld 408576698