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

Unified Diff: webkit/media/webmediasourceclient_impl.cc

Issue 12713004: Add Chromium-side changes for MediaSource::isTypeSupported() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Relax DEPS strictness to media/filters & rebased. Created 7 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 | « webkit/media/webmediasourceclient_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediasourceclient_impl.cc
diff --git a/webkit/media/webmediasourceclient_impl.cc b/webkit/media/webmediasourceclient_impl.cc
index 2f84c0f1447c8634eeef6de0ad16acaed39d814c..ff6a621547ea208f259919ab5c37f468928ea180 100644
--- a/webkit/media/webmediasourceclient_impl.cc
+++ b/webkit/media/webmediasourceclient_impl.cc
@@ -85,8 +85,10 @@ void WebSourceBufferImpl::removedFromMediaSource() {
}
WebMediaSourceClientImpl::WebMediaSourceClientImpl(
- const scoped_refptr<media::ChunkDemuxer>& demuxer)
- : demuxer_(demuxer) {
+ const scoped_refptr<media::ChunkDemuxer>& demuxer,
+ media::LogCB log_cb)
+ : demuxer_(demuxer),
+ log_cb_(log_cb) {
DCHECK(demuxer_);
}
@@ -100,7 +102,6 @@ WebMediaSourceClient::AddStatus WebMediaSourceClientImpl::addSourceBuffer(
std::vector<std::string> new_codecs(codecs.size());
for (size_t i = 0; i < codecs.size(); ++i)
new_codecs[i] = codecs[i].utf8().data();
-
WebMediaSourceClient::AddStatus result =
static_cast<WebMediaSourceClient::AddStatus>(
demuxer_->AddId(id, type.utf8().data(), new_codecs));
« no previous file with comments | « webkit/media/webmediasourceclient_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698