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

Unified Diff: media/base/pipeline_impl.h

Issue 6179006: Fix flaky behavior in pipeline teardown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply changes suggested in code review Created 9 years, 11 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_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl.h
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h
index 9a217fd80a270335a185880cbb96be845a105804..09d4950f88a4c374c78436a189eaaf5ef7e4bbaa 100644
--- a/media/base/pipeline_impl.h
+++ b/media/base/pipeline_impl.h
@@ -126,9 +126,6 @@ class PipelineImpl : public Pipeline, public FilterHost {
// Simple method used to make sure the pipeline is running normally.
bool IsPipelineOk();
- // Helper method to tell whether we are in the state of initializing.
- bool IsPipelineInitializing();
-
// Helper method to tell whether we are stopped or in error.
bool IsPipelineStopped();
@@ -294,6 +291,9 @@ class PipelineImpl : public Pipeline, public FilterHost {
// Whether or not the pipeline is perform a stop operation.
bool tearing_down_;
+ // Whether or not an error triggered the teardown.
+ bool error_caused_teardown_;
+
// Duration of the media in microseconds. Set by filters.
base::TimeDelta duration_;
« no previous file with comments | « no previous file | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698