Loading media/libstagefright/omx/OMXNodeInstance.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -1235,6 +1235,12 @@ status_t OMXNodeInstance::allocateSecureBuffer( return BAD_VALUE; } if (mSecureBufferType[portIndex] == kSecureBufferTypeUnknown) { ALOGE("b/63522818"); android_errorWriteLog(0x534e4554, "63522818"); return ERROR_UNSUPPORTED; } BufferMeta *buffer_meta = new BufferMeta(size, portIndex); OMX_BUFFERHEADERTYPE *header; Loading Loading @@ -1296,6 +1302,12 @@ status_t OMXNodeInstance::allocateBufferWithBackup( return BAD_VALUE; } if (mSecureBufferType[portIndex] != kSecureBufferTypeUnknown) { ALOGE("b/63522818"); android_errorWriteLog(0x534e4554, "63522818"); return ERROR_UNSUPPORTED; } // metadata buffers are not connected cross process; only copy if not meta bool copy = mMetadataType[portIndex] == kMetadataBufferTypeInvalid; Loading Loading
media/libstagefright/omx/OMXNodeInstance.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -1235,6 +1235,12 @@ status_t OMXNodeInstance::allocateSecureBuffer( return BAD_VALUE; } if (mSecureBufferType[portIndex] == kSecureBufferTypeUnknown) { ALOGE("b/63522818"); android_errorWriteLog(0x534e4554, "63522818"); return ERROR_UNSUPPORTED; } BufferMeta *buffer_meta = new BufferMeta(size, portIndex); OMX_BUFFERHEADERTYPE *header; Loading Loading @@ -1296,6 +1302,12 @@ status_t OMXNodeInstance::allocateBufferWithBackup( return BAD_VALUE; } if (mSecureBufferType[portIndex] != kSecureBufferTypeUnknown) { ALOGE("b/63522818"); android_errorWriteLog(0x534e4554, "63522818"); return ERROR_UNSUPPORTED; } // metadata buffers are not connected cross process; only copy if not meta bool copy = mMetadataType[portIndex] == kMetadataBufferTypeInvalid; Loading