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

Unified Diff: content/renderer/media/android/webmediaplayer_android.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/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index a643e48b32a5c4f2bbe52fe26a1cb201e8d94b0b..005ae28a4d1a7d1bb3d1cf05458f598d4cb01e63 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -181,6 +181,11 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
virtual unsigned audioDecodedByteCount() const;
virtual unsigned videoDecodedByteCount() const;
+ virtual size_t getAudioBufferSize() const;
+ virtual void setAudioBufferSize(size_t size);
+ virtual size_t getVideoBufferSize() const;
+ virtual void setVideoBufferSize(size_t size);
+
// cc::VideoFrameProvider implementation. These methods are running on the
// compositor thread.
void SetVideoFrameProviderClient(
« no previous file with comments | « content/renderer/media/android/media_source_delegate.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698