| 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() { |
| 16 return NULL; |
| 17 } |
| 18 |
| 15 bool VideoDecoder::NeedsBitstreamConversion() const { | 19 bool VideoDecoder::NeedsBitstreamConversion() const { |
| 16 return false; | 20 return false; |
| 17 } | 21 } |
| 18 | 22 |
| 19 bool VideoDecoder::CanReadWithoutStalling() const { | 23 bool VideoDecoder::CanReadWithoutStalling() const { |
| 20 return true; | 24 return true; |
| 21 } | 25 } |
| 22 | 26 |
| 23 int VideoDecoder::GetMaxDecodeRequests() const { | 27 int VideoDecoder::GetMaxDecodeRequests() const { |
| 24 return 1; | 28 return 1; |
| 25 } | 29 } |
| 26 | 30 |
| 27 } // namespace media | 31 } // namespace media |
| OLD | NEW |