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

Unified Diff: content/renderer/media/android/media_source_delegate.h

Issue 1171263004: Allow setting memory limits on media::DemuxerStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merged CL that adds get/set buffer size on WMP Created 5 years, 6 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
Index: content/renderer/media/android/media_source_delegate.h
diff --git a/content/renderer/media/android/media_source_delegate.h b/content/renderer/media/android/media_source_delegate.h
index e64423080a5f020ba5dcada987bd19545d997dc9..251d6011fd69fad0815b68e8f2828b68459d7b5d 100644
--- a/content/renderer/media/android/media_source_delegate.h
+++ b/content/renderer/media/android/media_source_delegate.h
@@ -71,6 +71,11 @@ class MediaSourceDelegate : public media::DemuxerHost {
size_t AudioDecodedByteCount() const;
size_t VideoDecodedByteCount() const;
+ size_t getAudioBufferSize() const;
+ void setAudioBufferSize(size_t size);
+ size_t getVideoBufferSize() const;
+ void setVideoBufferSize(size_t size);
+
// In MSE case, calls ChunkDemuxer::CancelPendingSeek(). Also sets the
// expectation that a regular seek will be arriving and to trivially finish
// any browser seeks that may be requested prior to the regular seek.
« no previous file with comments | « chromecast/media/cma/test/demuxer_stream_for_test.cc ('k') | content/renderer/media/android/media_source_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698