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

Unified Diff: chrome/renderer/media/data_source_impl.cc

Issue 39170: Pipeline_Impl was modified to properly render a stream that has video but no ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « no previous file | media/base/filter_host.h » ('j') | media/base/pipeline_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/data_source_impl.cc
===================================================================
--- chrome/renderer/media/data_source_impl.cc (revision 10997)
+++ chrome/renderer/media/data_source_impl.cc (working copy)
@@ -153,9 +153,7 @@
// be called. Since the file handle is asynchronous, return value other
// than ERROR_IO_PENDING is an error.
if (stream_->Read(c_data, size, &read_callback_) != net::ERR_IO_PENDING) {
- // TODO(hclam): change to PipelineError::PIPELINE_ERROR_READ once ralphl
- // gets the new pipeline CL checked in.
- host_->Error(media::PIPELINE_ERROR_NETWORK);
+ host_->Error(media::PIPELINE_ERROR_READ);
}
}
}
« no previous file with comments | « no previous file | media/base/filter_host.h » ('j') | media/base/pipeline_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698