Wire up OnEnabledChanged to the MediaStreamVideoSink and use it in RtcVideoRenderer.
commita59be9be6129926be77c65e454fcb757efe1ebc1
authorperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Dec 2013 22:19:24 +0000 (12 22:19 +0000)
committerperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Dec 2013 22:19:24 +0000 (12 22:19 +0000)
tree540aa9e0b0a97247507beff1b917f4779b34f743
parentb13830c20ee4e449d9a96e229f923d375f3c2213
Wire up OnEnabledChanged to the MediaStreamVideoSink and use it in RtcVideoRenderer.
This is to fix a problem where the audio renderer do not start since no video frame has been rendered.

https://code.google.com/p/webrtc/issues/detail?id=2162

BUG=328021

Review URL: https://codereview.chromium.org/112873003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240445 0039d316-1c4b-4281-b951-d872f2087c98
content/public/renderer/media_stream_sink.h
content/renderer/media/rtc_video_renderer.cc
content/renderer/media/rtc_video_renderer.h
content/renderer/media/webrtc/webrtc_video_sink_adapter.cc
content/renderer/media/webrtc/webrtc_video_sink_adapter.h