OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
5 #include "media/filters/source_buffer_platform.h" | 7 #include "media/filters/source_buffer_platform.h" |
6 | 8 |
7 namespace media { | 9 namespace media { |
8 | 10 |
9 // 2MB: approximately 1 minute of 256Kbps content. | 11 // 2MB: approximately 1 minute of 256Kbps content. |
10 // 30MB: approximately 1 minute of 4Mbps content. | 12 // 30MB: approximately 1 minute of 4Mbps content. |
11 const size_t kSourceBufferAudioMemoryLimit = 2 * 1024 * 1024; | 13 const size_t kSourceBufferAudioMemoryLimit = 2 * 1024 * 1024; |
12 const size_t kSourceBufferVideoMemoryLimit = 30 * 1024 * 1024; | 14 const size_t kSourceBufferVideoMemoryLimit = 30 * 1024 * 1024; |
13 | 15 |
14 } // namespace media | 16 } // namespace media |
OLD | NEW |