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

Unified Diff: media/base/mock_filters.cc

Issue 1171263004: Allow setting memory limits on media::DemuxerStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/base/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index 0a66c466b9bcfae3da3953243b6a9ca5b14df4d8..24abce6e4ae57cb6d9acc5328a174b5a2cb289ca 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -62,6 +62,15 @@ VideoRotation MockDemuxerStream::video_rotation() {
return VIDEO_ROTATION_0;
}
+int MockDemuxerStream::GetMemoryLimit() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+void MockDemuxerStream::SetMemoryLimit(int memory_limit) {
+ NOTIMPLEMENTED();
+}
+
std::string MockVideoDecoder::GetDisplayName() const {
return "MockVideoDecoder";
}

Powered by Google App Engine
This is Rietveld 408576698