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

Unified Diff: media/base/time_source.h

Issue 2322393002: Clear reference time after SetMediaTime in video-only time source. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | media/base/wall_clock_time_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/time_source.h
diff --git a/media/base/time_source.h b/media/base/time_source.h
index 496eced81a4996f63a1162716df651ec27d6a8fc..9d478d17340fb6e1219a6c0a12ccc466a5f3eeda 100644
--- a/media/base/time_source.h
+++ b/media/base/time_source.h
@@ -54,7 +54,8 @@ class MEDIA_EXPORT TimeSource {
// time is stopped, timestamps will be converted.
//
// Passing an empty |media_timestamps| vector will return the last known media
- // time as a wall clock time.
+ // time as a wall clock time. After SetMediaTime() and prior to StartTicking()
+ // the returned wall clock time must be zero.
//
// Within a single call to GetWallClockTimes() the returned wall clock times
// are a strictly increasing function of the given media times. There is no
« no previous file with comments | « no previous file | media/base/wall_clock_time_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698