| Index: media/base/demuxer_stream.h
|
| diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
|
| index 596ab67e83692aba287f11e6c1488a623ffee8e6..c2620c0238555acef9d449eb37995a478717ee64 100644
|
| --- a/media/base/demuxer_stream.h
|
| +++ b/media/base/demuxer_stream.h
|
| @@ -91,6 +91,12 @@ class MEDIA_EXPORT DemuxerStream {
|
|
|
| virtual VideoRotation video_rotation() = 0;
|
|
|
| + // Get the data buffer size limit, in bytes.
|
| + virtual size_t GetMemoryLimit() const = 0;
|
| +
|
| + // Set the data buffer size limit, in bytes.
|
| + virtual void SetMemoryLimit(size_t memory_limit) = 0;
|
| +
|
| protected:
|
| // Only allow concrete implementations to get deleted.
|
| virtual ~DemuxerStream();
|
|
|