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

Unified Diff: media/blink/websourcebuffer_impl.cc

Issue 1716503002: Basic media tracks implementation for media stream parsers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 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
Index: media/blink/websourcebuffer_impl.cc
diff --git a/media/blink/websourcebuffer_impl.cc b/media/blink/websourcebuffer_impl.cc
index ffb62c5c5397918a608726aad42fa17be555eb1e..f4b3b22c8dd47645c27998e8a8b528366994e0fe 100644
--- a/media/blink/websourcebuffer_impl.cc
+++ b/media/blink/websourcebuffer_impl.cc
@@ -12,6 +12,7 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
+#include "media/base/media_tracks.h"
#include "media/base/timestamp_constants.h"
#include "media/filters/chunk_demuxer.h"
#include "third_party/WebKit/public/platform/WebSourceBufferClient.h"
@@ -158,8 +159,9 @@ void WebSourceBufferImpl::removedFromMediaSource() {
client_ = NULL;
}
-void WebSourceBufferImpl::InitSegmentReceived() {
+void WebSourceBufferImpl::InitSegmentReceived(const MediaTracks& tracks) {
DVLOG(1) << __FUNCTION__;
+ // TODO(servolk): Implement passing MediaTrack info to blink level.
wolenetz 2016/02/26 19:29:28 really minor nit: TODO needs crbug reference. I su
servolk 2016/02/26 22:02:41 Done.
client_->initializationSegmentReceived();
}

Powered by Google App Engine
This is Rietveld 408576698