diff options
Diffstat (limited to 'media/base/limits.h')
-rw-r--r-- | media/base/limits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/base/limits.h b/media/base/limits.h index 517a5d1..b8a139f 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. |