Chromium Code Reviews| Index: webkit/media/webmediaplayer_impl.cc |
| diff --git a/webkit/media/webmediaplayer_impl.cc b/webkit/media/webmediaplayer_impl.cc |
| index f5e63331a239b83b285e7a5aa1b881c4b48036b5..3db2d44a032b5d5d7d6e3404d01cb97f481317b1 100644 |
| --- a/webkit/media/webmediaplayer_impl.cc |
| +++ b/webkit/media/webmediaplayer_impl.cc |
| @@ -1124,12 +1124,21 @@ void WebMediaPlayerImpl::NotifyDownloading(bool is_downloading) { |
| void WebMediaPlayerImpl::StartPipeline() { |
| starting_ = true; |
| + |
| + media::RequestDecryptorNotificationCB request_decryptor_notification_cb; |
| + if (decryptor_) { |
| + request_decryptor_notification_cb = |
| + base::Bind(&ProxyDecryptor::RequestDecryptorNotification, |
|
ddorwin
2012/12/11 05:13:34
ProxyDecryptor::RequestDecryptorNotification() doe
xhwang
2012/12/12 23:43:28
Done with Set...
|
| + base::Unretained(decryptor_.get())); |
| + } |
| + |
| pipeline_->Start( |
| filter_collection_.Pass(), |
| BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnPipelineEnded), |
| BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnPipelineError), |
| BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnPipelineSeek), |
| - BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnPipelineBufferingState)); |
| + BIND_TO_RENDER_LOOP(&WebMediaPlayerImpl::OnPipelineBufferingState), |
| + request_decryptor_notification_cb); |
| } |
| void WebMediaPlayerImpl::SetNetworkState(WebMediaPlayer::NetworkState state) { |