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

Unified Diff: media/base/pipeline.cc

Issue 9582017: Change Clock::SetMaxTime() to be safe even in the presence of slow pipelines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
« media/base/clock.cc ('K') | « media/base/clock.cc ('k') | no next file » | 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 2a7ca3924fa9c01e00a1acdbd3dafcce734d1648..9da3df1b95579c0bc85d147f8111ea2f5e06284c 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -467,7 +467,6 @@ void Pipeline::OnVideoTimeUpdate(base::TimeDelta max_time) {
return;
DCHECK(!waiting_for_clock_update_);
- DCHECK(clock_->Elapsed() <= max_time);
clock_->SetMaxTime(max_time);
}
« media/base/clock.cc ('K') | « media/base/clock.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698