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