Optimize phishing page term feature extraction.
[chromium-blink-merge.git] / media / filters / null_video_renderer.cc
blobdc6e5de1a5e2cdb889ce02db2ea1e6dbe73ae295
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "media/filters/null_video_renderer.h"
7 namespace media {
9 NullVideoRenderer::NullVideoRenderer() {}
10 NullVideoRenderer::~NullVideoRenderer() {}
12 bool NullVideoRenderer::OnInitialize(media::VideoDecoder* decoder) {
13 return true;
16 void NullVideoRenderer::OnStop(media::FilterCallback* callback) {
17 callback->Run();
18 delete callback;
21 void NullVideoRenderer::OnFrameAvailable() {
22 // Do nothing.
25 } // namespace media