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

Side by Side Diff: media/base/filters.cc

Issue 9700006: Move VideoDecoder out of media pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/filters.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/filters.h" 5 #include "media/base/filters.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 callback.Run(PIPELINE_OK); 68 callback.Run(PIPELINE_OK);
69 } 69 }
70 70
71 void Filter::OnAudioRendererDisabled() { 71 void Filter::OnAudioRendererDisabled() {
72 } 72 }
73 73
74 VideoDecoder::VideoDecoder() {} 74 VideoDecoder::VideoDecoder() {}
75 75
76 VideoDecoder::~VideoDecoder() {} 76 VideoDecoder::~VideoDecoder() {}
77 77
78 void VideoDecoder::Play(const base::Closure& /* callback */) {
79 LOG(FATAL) << "VideoDecoder::Play is not supposed to be called.";
80 }
81
82 void VideoDecoder::Pause(const base::Closure& /* callback */) {
83 LOG(FATAL) << "VideoDecoder::Pause is not supposed to be called.";
84 }
85
86 void VideoDecoder::Seek(base::TimeDelta /* time */,
87 const PipelineStatusCB& /* callback */) {
88 LOG(FATAL) << "VideoDecoder::Seek is not supposed to be called.";
89 }
90
78 bool VideoDecoder::HasAlpha() const { 91 bool VideoDecoder::HasAlpha() const {
79 return false; 92 return false;
80 } 93 }
81 94
82 void VideoDecoder::PrepareForShutdownHack() {} 95 void VideoDecoder::PrepareForShutdownHack() {}
83 96
84 } // namespace media 97 } // namespace media
OLDNEW
« no previous file with comments | « media/base/filters.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698