OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/filters/source_buffer_stream.h" | 5 #include "media/filters/source_buffer_stream.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/string_util.h" | |
12 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 12 #include "base/strings/string_util.h" |
13 #include "media/base/data_buffer.h" | 13 #include "media/base/data_buffer.h" |
14 #include "media/base/media_log.h" | 14 #include "media/base/media_log.h" |
15 #include "media/base/test_helpers.h" | 15 #include "media/base/test_helpers.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 static const int kDefaultFramesPerSecond = 30; | 20 static const int kDefaultFramesPerSecond = 30; |
21 static const int kDefaultKeyframesPerSecond = 6; | 21 static const int kDefaultKeyframesPerSecond = 6; |
22 static const uint8 kDataA = 0x11; | 22 static const uint8 kDataA = 0x11; |
(...skipping 2774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2797 NewSegmentAppend_ExpectFailure("0K 30 30K 60"); | 2797 NewSegmentAppend_ExpectFailure("0K 30 30K 60"); |
2798 } | 2798 } |
2799 | 2799 |
2800 // TODO(vrk): Add unit tests where keyframes are unaligned between streams. | 2800 // TODO(vrk): Add unit tests where keyframes are unaligned between streams. |
2801 // (crbug.com/133557) | 2801 // (crbug.com/133557) |
2802 | 2802 |
2803 // TODO(vrk): Add unit tests with end of stream being called at interesting | 2803 // TODO(vrk): Add unit tests with end of stream being called at interesting |
2804 // times. | 2804 // times. |
2805 | 2805 |
2806 } // namespace media | 2806 } // namespace media |
OLD | NEW |