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

Side by Side Diff: media/filters/source_buffer_platform.h

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 unified diff | Download patch
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/source_buffer_platform.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ 5 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_
6 #define MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ 6 #define MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_
7 7
8 #include "base/basictypes.h"
8 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
9 10
10 namespace media { 11 namespace media {
11 12
12 // The maximum amount of data in bytes the stream will keep in memory. 13 // The maximum amount of data in bytes the stream will keep in memory.
13 MEDIA_EXPORT extern const int kSourceBufferAudioMemoryLimit; 14 MEDIA_EXPORT extern const size_t kSourceBufferAudioMemoryLimit;
14 MEDIA_EXPORT extern const int kSourceBufferVideoMemoryLimit; 15 MEDIA_EXPORT extern const size_t kSourceBufferVideoMemoryLimit;
15 16
16 } // namespace media 17 } // namespace media
17 18
18 #endif // MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_ 19 #endif // MEDIA_FILTERS_SOURCE_BUFFER_PLATFORM_H_
OLDNEW
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/source_buffer_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698