Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: chromecast/media/cma/pipeline/video_pipeline_impl.cc

Issue 974623002: Chromecast: mitigate threading issue between AvPipeline/MediaKeys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes some bugs Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/media/cma/pipeline/video_pipeline_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/pipeline/video_pipeline_impl.cc
diff --git a/chromecast/media/cma/pipeline/video_pipeline_impl.cc b/chromecast/media/cma/pipeline/video_pipeline_impl.cc
index d3ae9bec1a911f9a4050961593010d39302f06c4..3a1c619e733547386212d1efd5891813020548ac 100644
--- a/chromecast/media/cma/pipeline/video_pipeline_impl.cc
+++ b/chromecast/media/cma/pipeline/video_pipeline_impl.cc
@@ -23,9 +23,9 @@ VideoPipelineImpl::VideoPipelineImpl(VideoPipelineDevice* video_device)
: video_device_(video_device),
weak_factory_(this) {
weak_this_ = weak_factory_.GetWeakPtr();
- av_pipeline_impl_.reset(new AvPipelineImpl(
+ av_pipeline_impl_ = new AvPipelineImpl(
video_device_,
- base::Bind(&VideoPipelineImpl::OnUpdateConfig, base::Unretained(this))));
+ base::Bind(&VideoPipelineImpl::OnUpdateConfig, base::Unretained(this)));
}
VideoPipelineImpl::~VideoPipelineImpl() {
« no previous file with comments | « chromecast/media/cma/pipeline/video_pipeline_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698