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

Unified Diff: media/blink/buffered_resource_loader.h

Issue 1094783002: Switch to double for time calculations using playback rate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Making changes at chromecast side to fix trybots Created 5 years, 8 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/blink/buffered_data_source_unittest.cc ('k') | media/blink/buffered_resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_resource_loader.h
diff --git a/media/blink/buffered_resource_loader.h b/media/blink/buffered_resource_loader.h
index 2b9cf5791555561599a4d590754926cdff6667a0..cb0272063ec61f9ab7819ca0417a6102556c9c4f 100644
--- a/media/blink/buffered_resource_loader.h
+++ b/media/blink/buffered_resource_loader.h
@@ -85,7 +85,7 @@ class MEDIA_EXPORT BufferedResourceLoader
int64 last_byte_position,
DeferStrategy strategy,
int bitrate,
- float playback_rate,
+ double playback_rate,
MediaLog* media_log);
virtual ~BufferedResourceLoader();
@@ -179,7 +179,7 @@ class MEDIA_EXPORT BufferedResourceLoader
// Sets the playback rate to the given value and updates buffer window
// accordingly.
- void SetPlaybackRate(float playback_rate);
+ void SetPlaybackRate(double playback_rate);
// Sets the bitrate to the given value and updates buffer window
// accordingly.
@@ -314,7 +314,7 @@ class MEDIA_EXPORT BufferedResourceLoader
int bitrate_;
// Playback rate of the media.
- float playback_rate_;
+ double playback_rate_;
scoped_refptr<MediaLog> media_log_;
« no previous file with comments | « media/blink/buffered_data_source_unittest.cc ('k') | media/blink/buffered_resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698