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 3 // found in the LICENSE file. 4 5 #include "media/base/video_decoder.h" 6 7 #include "media/base/video_frame.h" 8 9 namespace media { 10 11 VideoDecoder::VideoDecoder() {} 12 13 VideoDecoder::~VideoDecoder() {} 14 15 bool VideoDecoder::NeedsBitstreamConversion() const { 16 return false; 17 } 18 19 bool VideoDecoder::CanReadWithoutStalling() const { 20 return true; 21 } 22 23 int VideoDecoder::GetMaxDecodeRequests() const { 24 return 1; 25 } 26 27 } // namespace media 28