Loading media/libstagefright/ACodec.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1665,8 +1665,11 @@ status_t ACodec::configureCodec( ALOGE("[%s] storeMetaDataInBuffers (input) failed w/ err %d", mComponentName.c_str(), err); if (mOMX->livesLocally(mNode, getpid())) { return err; } ALOGI("ignoring failure to use internal MediaCodec key."); } // For this specific case we could be using camera source even if storeMetaDataInBuffers // returns Gralloc source. Pretend that we are; this will force us to use nBufferSize. if (mInputMetadataType == kMetadataBufferTypeGrallocSource) { Loading Loading
media/libstagefright/ACodec.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1665,8 +1665,11 @@ status_t ACodec::configureCodec( ALOGE("[%s] storeMetaDataInBuffers (input) failed w/ err %d", mComponentName.c_str(), err); if (mOMX->livesLocally(mNode, getpid())) { return err; } ALOGI("ignoring failure to use internal MediaCodec key."); } // For this specific case we could be using camera source even if storeMetaDataInBuffers // returns Gralloc source. Pretend that we are; this will force us to use nBufferSize. if (mInputMetadataType == kMetadataBufferTypeGrallocSource) { Loading