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

Unified Diff: chrome/renderer/media/ipc_video_decoder.cc

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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: chrome/renderer/media/ipc_video_decoder.cc
diff --git a/chrome/renderer/media/ipc_video_decoder.cc b/chrome/renderer/media/ipc_video_decoder.cc
index 12b262a4e70290ba65e82ebda404c2ecadbdede0..d6ff8981000bd78a68ca9bf52c40206b6adaf778 100644
--- a/chrome/renderer/media/ipc_video_decoder.cc
+++ b/chrome/renderer/media/ipc_video_decoder.cc
@@ -76,6 +76,10 @@ void IpcVideoDecoder::Initialize(media::DemuxerStream* demuxer_stream,
decode_context_.get(), param);
}
+const media::MediaFormat& IpcVideoDecoder::media_format() {
+ return media_format_;
+}
+
void IpcVideoDecoder::Stop(media::FilterCallback* callback) {
stop_callback_.reset(callback);
decode_engine_->Uninitialize();
@@ -175,6 +179,10 @@ void IpcVideoDecoder::ProduceVideoFrame(
decode_engine_->ProduceVideoFrame(video_frame);
}
+bool IpcVideoDecoder::ProvidesBuffer() {
+ return true;
+}
+
// This method is called by VideoDecodeEngine that a video frame is produced.
// This is then passed to VideoRenderer.
void IpcVideoDecoder::ConsumeVideoFrame(

Powered by Google App Engine
This is Rietveld 408576698