Index: media/renderers/renderer_impl.cc |
diff --git a/media/renderers/renderer_impl.cc b/media/renderers/renderer_impl.cc |
index ac80216606d1d3176bc9de1e29bf70ca7ff26559..520c3776143ecbbebe8f2eda787ee5e8dd2ab88a 100644 |
--- a/media/renderers/renderer_impl.cc |
+++ b/media/renderers/renderer_impl.cc |
@@ -35,7 +35,7 @@ RendererImpl::RendererImpl( |
video_renderer_(video_renderer.Pass()), |
time_source_(NULL), |
time_ticking_(false), |
- playback_rate_(0), |
+ playback_rate_(0.0), |
audio_buffering_state_(BUFFERING_HAVE_NOTHING), |
video_buffering_state_(BUFFERING_HAVE_NOTHING), |
audio_ended_(false), |
@@ -169,7 +169,7 @@ void RendererImpl::StartPlayingFrom(base::TimeDelta time) { |
video_renderer_->StartPlayingFrom(time); |
} |
-void RendererImpl::SetPlaybackRate(float playback_rate) { |
+void RendererImpl::SetPlaybackRate(double playback_rate) { |
DVLOG(1) << __FUNCTION__ << "(" << playback_rate << ")"; |
DCHECK(task_runner_->BelongsToCurrentThread()); |
@@ -179,7 +179,7 @@ void RendererImpl::SetPlaybackRate(float playback_rate) { |
time_source_->SetPlaybackRate(playback_rate); |
- const float old_rate = playback_rate_; |
+ const double old_rate = playback_rate_; |
playback_rate_ = playback_rate; |
if (!time_ticking_ || !video_renderer_) |
return; |