diff options
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) |