diff options
author | dalecurtis <dalecurtis@chromium.org> | 2015-05-12 12:23:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-12 19:25:13 +0000 |
commit | 1c432b56ac53f47756a96f80b05490d82dea1a6c (patch) | |
tree | 7687d9980761ee834744f176cf62a4c05c493616 /media | |
parent | 848d07dfae3bd43c0573bceb311cdb92b4da53d9 (diff) | |
download | chromium_src-1c432b56ac53f47756a96f80b05490d82dea1a6c.zip chromium_src-1c432b56ac53f47756a96f80b05490d82dea1a6c.tar.gz chromium_src-1c432b56ac53f47756a96f80b05490d82dea1a6c.tar.bz2 |
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}
Diffstat (limited to 'media')
-rw-r--r-- | media/base/time_source.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/media/base/time_source.h b/media/base/time_source.h index d060768..08cf0f0 100644 --- a/media/base/time_source.h +++ b/media/base/time_source.h @@ -51,9 +51,12 @@ class MEDIA_EXPORT TimeSource { // 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 - // vector. Returns true and converts all timestamps otherwise. Guarantees that - // wall clock time does not go backwards for monotonically increasing media - // timestamps. + // vector. Returns true and converts all timestamps otherwise. + // + // 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 // |wall_clock_times| such that after all timestamps are converted, the two |