Index: media/base/demuxer_stream.h |
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h |
index 596ab67e83692aba287f11e6c1488a623ffee8e6..b900617bff9ddc8d7d5bdb1f5498c21e554f8c23 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 maximum amount of data that this DemuxerStream is allowed to buffer |
philipj_slow
2015/06/11 08:44:05
I suppose document the unit, bytes?
servolk
2015/06/12 00:50:48
Done.
|
+ virtual int GetMemoryLimit() const = 0; |
+ |
+ // Set the maximum amount of data that this DemuxerStream is allowed to buffer |
+ virtual void SetMemoryLimit(int memory_limit) = 0; |
+ |
protected: |
// Only allow concrete implementations to get deleted. |
virtual ~DemuxerStream(); |