| 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..dce89bb51951df699e2d52148c9fdd8ae6acf93b 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;
|
| + // |kAudio| buffer type is meaningless to these tests.
|
| scoped_refptr<StreamParserBuffer> buffer =
|
| - StreamParserBuffer::CopyFrom(data, size, is_keyframe);
|
| + StreamParserBuffer::CopyFrom(data, size, is_keyframe,
|
| + StreamParserBuffer::kAudio);
|
| 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. |kAudio| buffer type is meaningless to these tests.
|
| scoped_refptr<StreamParserBuffer> buffer =
|
| - StreamParserBuffer::CopyFrom(&kDataA, kDataSize, is_keyframe);
|
| + StreamParserBuffer::CopyFrom(&kDataA, kDataSize, is_keyframe,
|
| + StreamParserBuffer::kAudio);
|
| base::TimeDelta timestamp =
|
| base::TimeDelta::FromMilliseconds(time_in_ms);
|
| buffer->set_timestamp(timestamp);
|
|
|