Loading media/libstagefright/omx/OMXNodeInstance.cpp +18 −0 Original line number Diff line number Diff line Loading @@ -792,6 +792,12 @@ status_t OMXNodeInstance::useBuffer( return BAD_VALUE; } if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } // metadata buffers are not connected cross process // use a backup buffer instead of the actual buffer BufferMeta *buffer_meta; Loading Loading @@ -1223,6 +1229,12 @@ status_t OMXNodeInstance::allocateSecureBuffer( Mutex::Autolock autoLock(mLock); if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } BufferMeta *buffer_meta = new BufferMeta(size, portIndex); OMX_BUFFERHEADERTYPE *header; Loading Loading @@ -1278,6 +1290,12 @@ status_t OMXNodeInstance::allocateBufferWithBackup( return BAD_VALUE; } if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } // metadata buffers are not connected cross process; only copy if not meta bool copy = mMetadataType[portIndex] == kMetadataBufferTypeInvalid; Loading Loading
media/libstagefright/omx/OMXNodeInstance.cpp +18 −0 Original line number Diff line number Diff line Loading @@ -792,6 +792,12 @@ status_t OMXNodeInstance::useBuffer( return BAD_VALUE; } if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } // metadata buffers are not connected cross process // use a backup buffer instead of the actual buffer BufferMeta *buffer_meta; Loading Loading @@ -1223,6 +1229,12 @@ status_t OMXNodeInstance::allocateSecureBuffer( Mutex::Autolock autoLock(mLock); if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } BufferMeta *buffer_meta = new BufferMeta(size, portIndex); OMX_BUFFERHEADERTYPE *header; Loading Loading @@ -1278,6 +1290,12 @@ status_t OMXNodeInstance::allocateBufferWithBackup( return BAD_VALUE; } if (!mSailed) { ALOGE("b/35467458"); android_errorWriteLog(0x534e4554, "35467458"); return BAD_VALUE; } // metadata buffers are not connected cross process; only copy if not meta bool copy = mMetadataType[portIndex] == kMetadataBufferTypeInvalid; Loading