• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
VideoDecoder()11 VideoDecoder::VideoDecoder() {}
12 
~VideoDecoder()13 VideoDecoder::~VideoDecoder() {}
14 
NeedsBitstreamConversion() const15 bool VideoDecoder::NeedsBitstreamConversion() const {
16   return false;
17 }
18 
CanReadWithoutStalling() const19 bool VideoDecoder::CanReadWithoutStalling() const {
20   return true;
21 }
22 
GetMaxDecodeRequests() const23 int VideoDecoder::GetMaxDecodeRequests() const {
24   return 1;
25 }
26 
27 }  // namespace media
28