Index: media/base/pipeline_impl.h |
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h |
index 5fb8f82ec465e27c933cf17a0d907c44a9d807d8..942668831cd19172d58e22f7f9e6a571b857d034 100644 |
--- a/media/base/pipeline_impl.h |
+++ b/media/base/pipeline_impl.h |
@@ -206,8 +206,8 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline, public FilterHost { |
virtual void SetCurrentReadPosition(int64 offset) OVERRIDE; |
virtual int64 GetCurrentReadPosition() OVERRIDE; |
- // Callback executed by filters upon completing initialization. |
- void OnFilterInitialize(); |
+ // Callbacks executed by filters upon completing initialization. |
+ void OnFilterInitialize(PipelineStatus status); |
// Callback executed by filters upon completing Play(), Pause(), or Stop(). |
void OnFilterStateTransition(); |
@@ -231,8 +231,9 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline, public FilterHost { |
// InitializeTask() performs initialization in multiple passes. It is executed |
// as a result of calling Start() or InitializationComplete() that advances |
// initialization to the next state. It works as a hub of state transition for |
- // initialization. |
- void InitializeTask(); |
+ // initialization. One stage communicates its status to the next through |
+ // |last_stage_status|. |
+ void InitializeTask(PipelineStatus last_stage_status); |
// Stops and destroys all filters, placing the pipeline in the kStopped state. |
void StopTask(const PipelineStatusCB& stop_callback); |