summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcleichner <cleichner@chromium.org>2015-10-23 10:19:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-23 17:20:27 +0000
commitfd0f46918a35b29558f99a8620bd78818a648103 (patch)
tree4423fc604bf4759f8259e80afe660a51fdfc9636
parente6d108fbe75f758d481ac6f3f6e2de45e4e4f3a2 (diff)
downloadchromium_src-fd0f46918a35b29558f99a8620bd78818a648103.zip
chromium_src-fd0f46918a35b29558f99a8620bd78818a648103.tar.gz
chromium_src-fd0f46918a35b29558f99a8620bd78818a648103.tar.bz2
Chromecast: update timestamp requirements
Update the comment requiring CLOCK_MONOTONIC to require CLOCK_MONOTONIC_RAW which reflects internal timestamp changes. BUG=internal b/24790163 Review URL: https://codereview.chromium.org/1420923004 Cr-Commit-Position: refs/heads/master@{#355813}
-rw-r--r--chromecast/public/media/media_pipeline_backend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromecast/public/media/media_pipeline_backend.h b/chromecast/public/media/media_pipeline_backend.h
index 741c2b7..53e028b 100644
--- a/chromecast/public/media/media_pipeline_backend.h
+++ b/chromecast/public/media/media_pipeline_backend.h
@@ -77,8 +77,8 @@ class MediaPipelineBackend {
class AudioDecoder : public Decoder {
public:
// Info on pipeline latency: amount of data in pipeline not rendered yet,
- // and timestamp of system clock (must be CLOCK_MONOTONIC) at which delay
- // measurement was taken. Both times in microseconds.
+ // and timestamp of system clock (must be CLOCK_MONOTONIC_RAW) at which
+ // delay measurement was taken. Both times in microseconds.
struct RenderingDelay {
RenderingDelay()
: delay_microseconds(INT64_MIN), timestamp_microseconds(INT64_MIN) {}