diff options
Diffstat (limited to 'media/base/pipeline_impl.cc')
-rw-r--r-- | media/base/pipeline_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc index a36da6c..5bc3faa 100644 --- a/media/base/pipeline_impl.cc +++ b/media/base/pipeline_impl.cc @@ -401,10 +401,10 @@ void PipelineThread::StopTask() { if (PipelineOk()) { pipeline_->error_ = PIPELINE_STOPPING; } - FilterHostVector::reverse_iterator riter = filter_hosts_.rbegin(); - while (riter != filter_hosts_.rend()) { - (*riter)->Stop(); - ++riter; + FilterHostVector::iterator iter = filter_hosts_.begin(); + while (iter != filter_hosts_.end()) { + (*iter)->Stop(); + ++iter; } if (host_initializing_) { host_initializing_ = NULL; |