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 f93bfe1a8dbf4d28116d3b3d51f734b4b05bf6b6..0a6abe6e87f3b539684ac4cb6fa2e3868d55edfd 100644 |
--- a/media/mojo/services/mojo_renderer_impl.cc |
+++ b/media/mojo/services/mojo_renderer_impl.cc |
@@ -63,12 +63,16 @@ void MojoRendererImpl::Initialize( |
demuxer_stream_provider_->GetStream(DemuxerStream::VIDEO); |
mojo::DemuxerStreamPtr audio_stream; |
- if (audio) |
- mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream); |
+ if (audio) { |
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream) |
+ ->DidConnect(); |
+ } |
mojo::DemuxerStreamPtr video_stream; |
- if (video) |
- mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream); |
+ if (video) { |
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream) |
+ ->DidConnect(); |
+ } |
remote_audio_renderer_->Initialize( |
audio_stream.Pass(), |