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

Unified Diff: media/blink/buffered_data_source.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/base/wall_clock_time_source.cc ('k') | media/blink/buffered_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_data_source.h
diff --git a/media/blink/buffered_data_source.h b/media/blink/buffered_data_source.h
index e149bb06f5c1579dbce7e4bb16ffa418ef27ab22..32f14816fcdce5a3307fb8a898c965d67f2b2c7d 100644
--- a/media/blink/buffered_data_source.h
+++ b/media/blink/buffered_data_source.h
@@ -100,7 +100,7 @@ class MEDIA_EXPORT BufferedDataSource : public DataSource {
// Notifies changes in playback state for controlling media buffering
// behavior.
- void MediaPlaybackRateChanged(float playback_rate);
+ void MediaPlaybackRateChanged(double playback_rate);
void MediaIsPlaying();
void MediaIsPaused();
bool media_has_played() const { return media_has_played_; }
@@ -229,7 +229,7 @@ class MEDIA_EXPORT BufferedDataSource : public DataSource {
int bitrate_;
// Current playback rate.
- float playback_rate_;
+ double playback_rate_;
scoped_refptr<MediaLog> media_log_;
« no previous file with comments | « media/base/wall_clock_time_source.cc ('k') | media/blink/buffered_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698