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

Unified Diff: content/renderer/media/webmediaplayer_impl.cc

Issue 212803004: Separate DemuxerHost from DataSourceHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | media/base/data_source.h » ('j') | media/base/demuxer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_impl.cc
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index 952f644fe83c38f9eb232b7820708f43aa2be5ae..324ace2ad367c33fc6d8cf90263ba7eba2c04b7f 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -316,6 +316,7 @@ void WebMediaPlayerImpl::DoLoad(LoadType load_type,
base::Bind(
&WebMediaPlayerImpl::DataSourceInitialized,
AsWeakPtr(), gurl));
+ data_source_->set_host(&pipeline_);
is_local_source_ = !gurl.SchemeIsHTTPOrHTTPS();
}
« no previous file with comments | « no previous file | media/base/data_source.h » ('j') | media/base/demuxer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698