Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: media/filters/source_buffer_platform.cc

Issue 1235403002: Change ChunkDemuxerStream/SourceBufferStream memory limit to size_t type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A few more minor fixes Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/source_buffer_platform.h ('k') | media/filters/source_buffer_platform_lowmem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_platform.cc
diff --git a/media/filters/source_buffer_platform.cc b/media/filters/source_buffer_platform.cc
index 6457e8cca0c4c83efefb1599c6d3d575eb2035f7..89761a126045ebc6434d8d2fba79a83abbe40a37 100644
--- a/media/filters/source_buffer_platform.cc
+++ b/media/filters/source_buffer_platform.cc
@@ -8,7 +8,7 @@ namespace media {
// 12MB: approximately 5 minutes of 320Kbps content.
// 150MB: approximately 5 minutes of 4Mbps content.
-const int kSourceBufferAudioMemoryLimit = 12 * 1024 * 1024;
-const int kSourceBufferVideoMemoryLimit = 150 * 1024 * 1024;
+const size_t kSourceBufferAudioMemoryLimit = 12 * 1024 * 1024;
+const size_t kSourceBufferVideoMemoryLimit = 150 * 1024 * 1024;
} // namespace media
« no previous file with comments | « media/filters/source_buffer_platform.h ('k') | media/filters/source_buffer_platform_lowmem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698