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 #include "media/base/video_frame.h" | 7 #include "media/base/video_frame.h" |
8 | 8 |
9 namespace media { | 9 namespace media { |
10 | 10 |
11 VideoDecoder::VideoDecoder() {} | 11 VideoDecoder::VideoDecoder() {} |
12 | 12 |
13 VideoDecoder::~VideoDecoder() {} | 13 VideoDecoder::~VideoDecoder() {} |
14 | 14 |
15 scoped_refptr<VideoFrame> VideoDecoder::GetDecodeOutput() { | 15 scoped_refptr<VideoFrame> VideoDecoder::GetDecodeOutput() { |
16 return NULL; | 16 return NULL; |
17 } | 17 } |
18 | 18 |
19 bool VideoDecoder::NeedsBitstreamConversion() const { | 19 bool VideoDecoder::NeedsBitstreamConversion() const { |
20 return false; | 20 return false; |
21 } | 21 } |
22 | 22 |
23 bool VideoDecoder::CanReadWithoutStalling() const { | 23 bool VideoDecoder::CanReadWithoutStalling() const { |
24 return true; | 24 return true; |
25 } | 25 } |
26 | 26 |
| 27 int VideoDecoder::GetMaxDecodeRequests() const { |
| 28 return 1; |
| 29 } |
| 30 |
27 } // namespace media | 31 } // namespace media |
OLD | NEW |