Index: media/filters/source_buffer_stream_unittest.cc |
diff --git a/media/filters/source_buffer_stream_unittest.cc b/media/filters/source_buffer_stream_unittest.cc |
index 7db62a1b7343b92e1bee11dfb8353ed1f0332216..7bb38f8a741574d8d4ff49613306373808006ba1 100644 |
--- a/media/filters/source_buffer_stream_unittest.cc |
+++ b/media/filters/source_buffer_stream_unittest.cc |
@@ -303,8 +303,10 @@ class SourceBufferStreamTest : public testing::Test { |
for (int i = 0; i < number_of_buffers; i++) { |
int position = starting_position + i; |
bool is_keyframe = position % keyframe_interval == 0; |
+ // Buffer type and track ID are meaningless to these tests. |
scoped_refptr<StreamParserBuffer> buffer = |
- StreamParserBuffer::CopyFrom(data, size, is_keyframe); |
+ StreamParserBuffer::CopyFrom(data, size, is_keyframe, |
+ DemuxerStream::AUDIO, 0); |
base::TimeDelta timestamp = frame_duration_ * position; |
if (i == 0) |
@@ -391,9 +393,10 @@ class SourceBufferStreamTest : public testing::Test { |
int time_in_ms; |
CHECK(base::StringToInt(timestamps[i], &time_in_ms)); |
- // Create buffer. |
+ // Create buffer. Buffer type and track ID are meaningless to these tests. |
scoped_refptr<StreamParserBuffer> buffer = |
- StreamParserBuffer::CopyFrom(&kDataA, kDataSize, is_keyframe); |
+ StreamParserBuffer::CopyFrom(&kDataA, kDataSize, is_keyframe, |
+ DemuxerStream::AUDIO, 0); |
base::TimeDelta timestamp = |
base::TimeDelta::FromMilliseconds(time_in_ms); |
buffer->set_timestamp(timestamp); |