summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaCodecList.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-05-19 17:30:34 -0700
committerChong Zhang <chz@google.com>2015-05-21 18:12:21 -0700
commit79608158c2254fe1357959157f2d0c1560a8a6c6 (patch)
tree17e8aede8ce700ae9c169a23fad547eac5c6bc6a /media/libstagefright/MediaCodecList.cpp
parent2232aee25e4df7d04446912e8ad9e9dc44d8ec16 (diff)
downloadframeworks_av-79608158c2254fe1357959157f2d0c1560a8a6c6.zip
frameworks_av-79608158c2254fe1357959157f2d0c1560a8a6c6.tar.gz
frameworks_av-79608158c2254fe1357959157f2d0c1560a8a6c6.tar.bz2
stagefright: measure max encoder buffer count for persistent surface
bug: 19127604 Change-Id: I9a9b29b527d20f43a5a0188380baf2242bd31507
Diffstat (limited to 'media/libstagefright/MediaCodecList.cpp')
-rw-r--r--media/libstagefright/MediaCodecList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/MediaCodecList.cpp b/media/libstagefright/MediaCodecList.cpp
index d2352bc..6708828 100644
--- a/media/libstagefright/MediaCodecList.cpp
+++ b/media/libstagefright/MediaCodecList.cpp
@@ -42,6 +42,8 @@
namespace android {
+const char *kMaxEncoderInputBuffers = "max-video-encoder-input-buffers";
+
static Mutex sInitMutex;
static MediaCodecList *gCodecList = NULL;