Index: media/blink/webmediaplayer_impl.cc |
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc |
index e5ac3c98ecf7692c3e10c91d88b8e9bb97886158..cfc9c69877b10299fd03111d5964db8dd364d4c4 100644 |
--- a/media/blink/webmediaplayer_impl.cc |
+++ b/media/blink/webmediaplayer_impl.cc |
@@ -951,6 +951,9 @@ void WebMediaPlayerImpl::StartPipeline() { |
chunk_demuxer_ = new ChunkDemuxer( |
BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnDemuxerOpened), |
encrypted_media_init_data_cb, mse_log_cb, media_log_, true); |
+ chunk_demuxer_->SetMediaTimeProvider( |
+ base::Bind(&media::Pipeline::GetMediaTime, |
+ base::Unretained(&pipeline_))); |
demuxer_.reset(chunk_demuxer_); |
} |