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 9ed903f0a31e40ea4fffc01cad5a26605888ed05..af96108c17f1a8b4de2f86da5618248364b917c6 100644 |
--- a/media/mojo/services/mojo_renderer_impl.cc |
+++ b/media/mojo/services/mojo_renderer_impl.cc |
@@ -61,12 +61,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(), |