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 |
(...skipping 10 matching lines...) Expand all Loading... |
21 } | 21 } |
22 | 22 |
23 bool VideoDecoder::NeedsBitstreamConversion() const { | 23 bool VideoDecoder::NeedsBitstreamConversion() const { |
24 return false; | 24 return false; |
25 } | 25 } |
26 | 26 |
27 bool VideoDecoder::CanReadWithoutStalling() const { | 27 bool VideoDecoder::CanReadWithoutStalling() const { |
28 return true; | 28 return true; |
29 } | 29 } |
30 | 30 |
| 31 int VideoDecoder::GetMaxDecodeRequests() const { |
| 32 return 1; |
| 33 } |
| 34 |
31 } // namespace media | 35 } // namespace media |
OLD | NEW |