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

Unified Diff: media/base/pipeline.cc

Issue 10831214: Fix Pipeline to properly handle errors during initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 8 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 | « no previous file | 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 85ec3e8f5e9070e3e935e3c1f9985a8b0bb6fdb1..6fda59d2901b20fa6f19f37f2bfd2a53397aafd3 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -621,6 +621,7 @@ void Pipeline::InitializeTask(PipelineStatus last_stage_status) {
state_ = kInitAudioRenderer;
} else {
SetError(last_stage_status);
+ return;
}
}
« no previous file with comments | « no previous file | media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698