OLD | NEW |
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/video_decoder.h" | 5 #include "media/base/video_decoder.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 VideoDecoder::VideoDecoder() {} | 9 VideoDecoder::VideoDecoder() {} |
10 | 10 |
11 VideoDecoder::~VideoDecoder() {} | 11 VideoDecoder::~VideoDecoder() {} |
12 | 12 |
13 bool VideoDecoder::HasAlpha() const { | 13 bool VideoDecoder::HasAlpha() const { |
14 return false; | 14 return false; |
15 } | 15 } |
16 | 16 |
17 bool VideoDecoder::NeedsBitstreamConversion() const { | 17 bool VideoDecoder::NeedsBitstreamConversion() const { |
18 return false; | 18 return false; |
19 } | 19 } |
20 | 20 |
21 bool VideoDecoder::HasOutputFrameAvailable() const { | 21 bool VideoDecoder::CanReadWithoutStalling() const { |
22 return true; | 22 return true; |
23 } | 23 } |
24 | 24 |
25 } // namespace media | 25 } // namespace media |
OLD | NEW |