| Index: mojo/services/media/control/interfaces/media_player.mojom
|
| diff --git a/mojo/services/media/control/interfaces/media_player.mojom b/mojo/services/media/control/interfaces/media_player.mojom
|
| index 49f4aa427df6d21cd178ac033d2069ed3d9f1fa5..6b3d0ed051519e9ba1f75d5e5e578a98864b0af9 100644
|
| --- a/mojo/services/media/control/interfaces/media_player.mojom
|
| +++ b/mojo/services/media/control/interfaces/media_player.mojom
|
| @@ -6,7 +6,6 @@
|
| module mojo.media;
|
|
|
| import "mojo/services/media/common/interfaces/media_metadata.mojom";
|
| -import "mojo/services/media/common/interfaces/media_state.mojom";
|
| import "mojo/services/media/common/interfaces/timelines.mojom";
|
|
|
| // Plays media.
|
| @@ -22,8 +21,6 @@ interface MediaPlayer {
|
| Pause();
|
|
|
| // Seeks to the specified position, specified in nanoseconds.
|
| - // TODO(dalesat): Consider adding relative vs remote flag.
|
| - // TODO(dalesat): Consider adding parameters regarding desired precision.
|
| Seek(int64 position);
|
|
|
| // Gets the status. To get the status immediately, call
|
| @@ -35,13 +32,13 @@ interface MediaPlayer {
|
|
|
| // MediaPlayer status information.
|
| struct MediaPlayerStatus {
|
| - // Current state of the player.
|
| - MediaState state;
|
| -
|
| // Transform translating local time to presentation time. Reverse translation
|
| // (presentation time to local time) is only valid when media is playing.
|
| mojo.TimelineTransform? timeline_transform;
|
|
|
| + // Indicates whether presentation has reached end-of-stream.
|
| + bool end_of_stream;
|
| +
|
| // Describes the media.
|
| MediaMetadata? metadata;
|
| };
|
|
|