diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 00:30:39 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 00:30:39 +0000 |
commit | e1d75490aebae7cefd4be491dff0facde1bb2d53 (patch) | |
tree | 7a9d929cd7b348da09efe494495f79a6981c1e5b /media/base/video_decoder.cc | |
parent | f7b0633c3475362a1e6933277304df5b7e8af4c7 (diff) | |
download | chromium_src-e1d75490aebae7cefd4be491dff0facde1bb2d53.zip chromium_src-e1d75490aebae7cefd4be491dff0facde1bb2d53.tar.gz chromium_src-e1d75490aebae7cefd4be491dff0facde1bb2d53.tar.bz2 |
Remove VideoDecoder from the Filter heirarchy.
This is the second step to move VideoDecoder out of Filter hierarchy (See r128289). VideoDecoder is not a Filter any more and Seek()/Pause()/Play() methods are removed from its definition and all implementations.
BUG=108340
TEST=media_unittest,content_unittest,normal html5 video playback
Review URL: http://codereview.chromium.org/9724011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_decoder.cc')
-rw-r--r-- | media/base/video_decoder.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media/base/video_decoder.cc b/media/base/video_decoder.cc new file mode 100644 index 0000000..b5100b8 --- /dev/null +++ b/media/base/video_decoder.cc @@ -0,0 +1,19 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "media/base/video_decoder.h" + +namespace media { + +VideoDecoder::VideoDecoder() {} + +VideoDecoder::~VideoDecoder() {} + +bool VideoDecoder::HasAlpha() const { + return false; +} + +void VideoDecoder::PrepareForShutdownHack() {} + +} // namespace media |