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

Unified Diff: media/filters/decrypting_demuxer_stream.h

Issue 1171263004: Allow setting memory limits on media::DemuxerStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include logging.h for NOTIMPLEMENTED definition 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: media/filters/decrypting_demuxer_stream.h
diff --git a/media/filters/decrypting_demuxer_stream.h b/media/filters/decrypting_demuxer_stream.h
index e8d82224a10c809bfad183d8b1098f353c24678e..3f0900be0ea70a0e91e1f2f5ffe2b524f6350c25 100644
--- a/media/filters/decrypting_demuxer_stream.h
+++ b/media/filters/decrypting_demuxer_stream.h
@@ -54,6 +54,8 @@ class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream {
void EnableBitstreamConverter() override;
bool SupportsConfigChanges() override;
VideoRotation video_rotation() override;
+ int GetMemoryLimit() const override;
+ void SetMemoryLimit(int memory_limit) override;
private:
// For a detailed state diagram please see this link: http://goo.gl/8jAok

Powered by Google App Engine
This is Rietveld 408576698