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

Unified Diff: media/base/wall_clock_time_source.h

Issue 1160853006: Improve audio/video sync during underflow, reduce underflow frequency. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 5 years, 6 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 | « media/base/time_source.h ('k') | 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/wall_clock_time_source.h
diff --git a/media/base/wall_clock_time_source.h b/media/base/wall_clock_time_source.h
index 22283192c39414b079589721438606c5dcf30fc6..4046e8ec207e410041f98b69d328ea6b7c6d4038 100644
--- a/media/base/wall_clock_time_source.h
+++ b/media/base/wall_clock_time_source.h
@@ -48,8 +48,8 @@ class MEDIA_EXPORT WallClockTimeSource : public TimeSource {
// delta between our reference ticks and the current system ticks and scaling
// that time by the playback rate.
double playback_rate_;
- base::TimeDelta base_time_;
- base::TimeTicks reference_wall_ticks_;
+ base::TimeDelta base_timestamp_;
+ base::TimeTicks reference_time_;
// TODO(scherkus): Remove internal locking from this class after access to
// Renderer::CurrentMediaTime() is single threaded http://crbug.com/370634
« no previous file with comments | « media/base/time_source.h ('k') | media/base/wall_clock_time_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698