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

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: 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
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"
wolenetz 2015/07/17 20:23:53 nit: Hmm. For style correctness, it looks like bot
servolk 2015/07/17 21:34:06 Done.
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

Powered by Google App Engine
This is Rietveld 408576698