| 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(
|
|
|