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

Unified Diff: media/base/demuxer_stream.cc

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/base/demuxer_stream.cc
diff --git a/media/base/demuxer_stream.cc b/media/base/demuxer_stream.cc
index fff5ddf2b16e802daa3f63be4b98ac755b28f28d..b0200124ada53beca2719dc58495eafe54e7c5ac 100644
--- a/media/base/demuxer_stream.cc
+++ b/media/base/demuxer_stream.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/logging.h"
#include "media/base/demuxer_stream.h"
namespace media {
@@ -18,4 +19,15 @@ DemuxerStream::Liveness DemuxerStream::liveness() const {
// Do nothing by default.
void DemuxerStream::EnableBitstreamConverter() {}
+// Get the data buffer size, in bytes.
+int DemuxerStream::GetMemoryLimit() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+// Set the data buffer size, in bytes.
+void DemuxerStream::SetMemoryLimit(int memory_limit) {
+ NOTIMPLEMENTED();
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698