summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chromecast/renderer/media/cma_renderer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromecast/renderer/media/cma_renderer.cc b/chromecast/renderer/media/cma_renderer.cc
index 338a138..5e914b0 100644
--- a/chromecast/renderer/media/cma_renderer.cc
+++ b/chromecast/renderer/media/cma_renderer.cc
@@ -115,7 +115,7 @@ void CmaRenderer::Initialize(
waiting_for_decryption_key_cb_ = waiting_for_decryption_key_cb;
MediaPipelineClient media_pipeline_client;
- media_pipeline_client.error_cb = error_cb_;
+ media_pipeline_client.error_cb = ::media::BindToCurrentLoop(error_cb_);
media_pipeline_client.buffering_state_cb = ::media::BindToCurrentLoop(
base::Bind(&CmaRenderer::OnBufferingNotification, weak_this_));
media_pipeline_client.time_update_cb = ::media::BindToCurrentLoop(