Index: media/blink/webmediasource_impl.cc |
diff --git a/media/blink/webmediasource_impl.cc b/media/blink/webmediasource_impl.cc |
index 7aed8dbd142fe9da3108024057ed3840f509633c..579937b56c429523d877f51181e9848f599091a5 100644 |
--- a/media/blink/webmediasource_impl.cc |
+++ b/media/blink/webmediasource_impl.cc |
@@ -38,12 +38,8 @@ WebMediaSource::AddStatus WebMediaSourceImpl::addSourceBuffer( |
blink::WebSourceBuffer** source_buffer) { |
std::string id = base::GenerateGUID(); |
- std::vector<std::string> parsed_codec_ids; |
- media::ParseCodecString(codecs.utf8().data(), &parsed_codec_ids, false); |
- |
- WebMediaSource::AddStatus result = |
- static_cast<WebMediaSource::AddStatus>( |
- demuxer_->AddId(id, type.utf8().data(), parsed_codec_ids)); |
+ WebMediaSource::AddStatus result = static_cast<WebMediaSource::AddStatus>( |
+ demuxer_->AddId(id, type.utf8().data(), codecs.utf8().data())); |
if (result == WebMediaSource::AddStatusOk) |
*source_buffer = new WebSourceBufferImpl(id, demuxer_); |