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

Unified Diff: media/base/pipeline.cc

Issue 212803004: Separate DemuxerHost from DataSourceHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 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 | « media/base/pipeline.h ('k') | 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 8c0ca54431885e8393e6d8911d60792c496d696f..f2b6ea742ff28696037fcb2d0758f3f75d84777d 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -374,7 +374,6 @@ void Pipeline::SetDuration(TimeDelta duration) {
}
void Pipeline::SetTotalBytes(int64 total_bytes) {
- DCHECK(IsRunning());
media_log_->AddEvent(
media_log_->CreateStringEvent(
MediaLogEvent::TOTAL_BYTES_SET, "total_bytes",
@@ -685,7 +684,6 @@ void Pipeline::OnStopCompleted(PipelineStatus status) {
}
void Pipeline::AddBufferedByteRange(int64 start, int64 end) {
- DCHECK(IsRunning());
base::AutoLock auto_lock(lock_);
buffered_byte_ranges_.Add(start, end);
did_loading_progress_ = true;
« no previous file with comments | « media/base/pipeline.h ('k') | media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698