| Index: media/base/limits.h
|
| diff --git a/media/base/limits.h b/media/base/limits.h
|
| index 517a5d10bbd466cf1c47e818b47047bd32f03a76..b8a139f385535607336640cc66133e54fd5cb9d2 100644
|
| --- a/media/base/limits.h
|
| +++ b/media/base/limits.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -16,6 +16,9 @@ struct Limits {
|
| static const size_t kMaxDimension = (1 << 15) - 1; // 32767
|
| static const size_t kMaxCanvas = (1 << (14 * 2)); // 16384 x 16384
|
|
|
| + // Total number of video frames which are populating in the pipeline.
|
| + static const size_t kMaxVideoFrames = 4;
|
| +
|
| // Following limits are used by AudioParameters::IsValid().
|
| // The 192 Khz constant is the frequency of quicktime lossless audio codec.
|
| // MP4 is limited to 96 Khz, and mp3 is limited to 48 Khz.
|
|
|