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

Unified Diff: media/blink/websourcebuffer_impl.cc

Issue 2050043002: Generate and assign media track ids in demuxers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-streamparser-trackid
Patch Set: Created 4 years, 6 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 d53cb7ed436e5d88ff4082e1eb5317530898aa2d..8c5e77addc096ea5bf3618988d8b360d86e96e24 100644
--- a/media/blink/websourcebuffer_impl.cc
+++ b/media/blink/websourcebuffer_impl.cc
@@ -183,8 +183,7 @@ void WebSourceBufferImpl::InitSegmentReceived(
for (const auto& track : tracks->tracks()) {
blink::WebSourceBufferClient::MediaTrackInfo trackInfo;
trackInfo.trackType = mediaTrackTypeToBlink(track->type());
- trackInfo.byteStreamTrackId = blink::WebString::fromUTF8(
- base::UintToString(track->byteStreamTrackId()));
+ trackInfo.byteStreamTrackId = blink::WebString::fromUTF8(track->id());
chcunningham 2016/06/09 17:57:19 I think you this is not the bytestreamTrackId - yo
servolk 2016/06/09 19:14:46 Done.
trackInfo.kind = blink::WebString::fromUTF8(track->kind());
trackInfo.label = blink::WebString::fromUTF8(track->label());
trackInfo.language = blink::WebString::fromUTF8(track->language());

Powered by Google App Engine
This is Rietveld 408576698