Commit 1c432b56 authored by dalecurtis's avatar dalecurtis Committed by Commit bot

Improve comment around strictly increasing wall clock times.

Post-commit nits from the original http://crrev.com/329363

BUG=485042
TEST=none

Review URL: https://codereview.chromium.org/1138283002

Cr-Commit-Position: refs/heads/master@{#329453}
parent 848d07df
...@@ -51,9 +51,12 @@ class MEDIA_EXPORT TimeSource { ...@@ -51,9 +51,12 @@ class MEDIA_EXPORT TimeSource {
// Converts a vector of media timestamps into a vector of wall clock times. If // Converts a vector of media timestamps into a vector of wall clock times. If
// the media time is stopped, returns false and does not modify the output // the media time is stopped, returns false and does not modify the output
// vector. Returns true and converts all timestamps otherwise. Guarantees that // vector. Returns true and converts all timestamps otherwise.
// wall clock time does not go backwards for monotonically increasing media //
// timestamps. // Within a single call to GetWallClockTimes() the returned wall clock times
// are a strictly increasing function of the given media times. There is no
// such guarantee between calls though; e.g., playback rate or audio delay may
// change on other threads within the pipeline.
// //
// Each timestamp converted from |media_timestamps| will be pushed into // Each timestamp converted from |media_timestamps| will be pushed into
// |wall_clock_times| such that after all timestamps are converted, the two // |wall_clock_times| such that after all timestamps are converted, the two
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment