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

Unified Diff: media/filters/file_data_source.cc

Issue 8661002: Fire CanPlayThrough immediately for local and streaming media files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix media/event-attributes.html Created 9 years, 1 month 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
Index: media/filters/file_data_source.cc
diff --git a/media/filters/file_data_source.cc b/media/filters/file_data_source.cc
index 9116b5027ff6520f4b04afa2f27f5408f00721ad..97cce33e7a077f66ed0fa09ee2083a0a11e47feb 100644
--- a/media/filters/file_data_source.cc
+++ b/media/filters/file_data_source.cc
@@ -118,4 +118,8 @@ void FileDataSource::SetPreload(Preload preload) {
void FileDataSource::SetBitrate(int bitrate) {
}
+bool FileDataSource::IsLocalSource() {
+ return true;
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698