diff options
author | Andreas Huber <andih@google.com> | 2010-04-06 14:36:23 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-04-06 14:36:23 -0700 |
commit | 80eb61776f136c316f45ce4187a8bafedf9b3e88 (patch) | |
tree | 93ebc50e44b40bbc6991793ee7641f519c1c4a87 /media | |
parent | b514a24eac5d9f5a3a9cdb3b7319918c39198769 (diff) | |
download | frameworks_av-80eb61776f136c316f45ce4187a8bafedf9b3e88.zip frameworks_av-80eb61776f136c316f45ce4187a8bafedf9b3e88.tar.gz frameworks_av-80eb61776f136c316f45ce4187a8bafedf9b3e88.tar.bz2 |
Partial revert of previous change to improve hardware AAC decoder performance, increasing the input buffer size so dramatically accidentally broke streaming performance.
Change-Id: I14e9fbc1fdff61bcf89218d83cb1d2e3d6eb8438
related-to-bug: 2574491
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index 2346639..6037088 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -535,26 +535,6 @@ status_t OMXCodec::configureCodec(const sp<MetaData> &meta) { return err; } } - } else if (!strncasecmp(mMIME, "audio/", 6)) { - if ((mQuirks & kSupportsMultipleFramesPerInputBuffer) - && !strcmp(mComponentName, "OMX.TI.AAC.decode")) { - OMX_PARAM_PORTDEFINITIONTYPE def; - InitOMXParams(&def); - def.nPortIndex = kPortIndexInput; - - status_t err = mOMX->getParameter( - mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); - CHECK_EQ(err, OK); - - const size_t kMinBufferSize = 100 * 1024; - if (def.nBufferSize < kMinBufferSize) { - def.nBufferSize = kMinBufferSize; - } - - err = mOMX->setParameter( - mNode, OMX_IndexParamPortDefinition, &def, sizeof(def)); - CHECK_EQ(err, OK); - } } if (!strcasecmp(mMIME, MEDIA_MIMETYPE_IMAGE_JPEG) |