Index: media/mojo/clients/mojo_renderer.cc |
diff --git a/media/mojo/clients/mojo_renderer.cc b/media/mojo/clients/mojo_renderer.cc |
index b2145035a0876e7c2481bf256ddf1384ca425710..675809a5e4a26ca8c8232bea3c4560e71d9853b8 100644 |
--- a/media/mojo/clients/mojo_renderer.cc |
+++ b/media/mojo/clients/mojo_renderer.cc |
@@ -274,6 +274,11 @@ void MojoRenderer::OnVideoNaturalSizeChange(const gfx::Size& size) { |
client_->OnVideoNaturalSizeChange(size); |
} |
+void MojoRenderer::OnDurationChange(int64_t duration_usec) { |
+ DVLOG(2) << __FUNCTION__ << ": duration" << duration_usec; |
+ client_->OnDurationChange(base::TimeDelta::FromMicroseconds(duration_usec)); |
+} |
+ |
void MojoRenderer::OnVideoOpacityChange(bool opaque) { |
DVLOG(2) << __FUNCTION__ << ": " << opaque; |
DCHECK(task_runner_->BelongsToCurrentThread()); |