Index: media/mojo/services/mojo_renderer_impl.cc |
diff --git a/media/mojo/services/mojo_renderer_impl.cc b/media/mojo/services/mojo_renderer_impl.cc |
index 336166e48414494a56e76dea16dc0abeabc0fa05..8b60c4f0c986b3308875b36ab512db4ed6e723ee 100644 |
--- a/media/mojo/services/mojo_renderer_impl.cc |
+++ b/media/mojo/services/mojo_renderer_impl.cc |
@@ -123,6 +123,14 @@ void MojoRendererImpl::StartPlayingFrom(base::TimeDelta time) { |
remote_renderer_->StartPlayingFrom(time.InMicroseconds()); |
} |
+void MojoRendererImpl::RestartStreamPlayback(DemuxerStream* stream, |
+ base::TimeDelta time) { |
+ DVLOG(2) << __FUNCTION__; |
+ DCHECK(task_runner_->BelongsToCurrentThread()); |
+ bool video_stream = (stream->type() == DemuxerStream::VIDEO); |
+ remote_renderer_->RestartStreamPlayback(video_stream, time.InMicroseconds()); |
+} |
+ |
void MojoRendererImpl::SetPlaybackRate(double playback_rate) { |
DVLOG(2) << __FUNCTION__; |
DCHECK(task_runner_->BelongsToCurrentThread()); |