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

Unified Diff: media/base/pipeline.cc

Issue 416393003: Make Demuxer::Stop() synchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 years, 4 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 | « media/base/mock_filters.h ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.cc
diff --git a/media/base/pipeline.cc b/media/base/pipeline.cc
index 70aa2a4e1239a2eb9b4bdafe366900a16eda4631..486bfaba1a370847d3f221121162791217983ab9 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -410,8 +410,8 @@ void Pipeline::DoStop(const PipelineStatusCB& done_cb) {
text_renderer_.reset();
if (demuxer_) {
- demuxer_->Stop(base::Bind(done_cb, PIPELINE_OK));
- return;
+ demuxer_->Stop();
+ demuxer_ = NULL;
}
task_runner_->PostTask(FROM_HERE, base::Bind(done_cb, PIPELINE_OK));
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698