diff options
Diffstat (limited to 'components/V4L2DecodeInterface.cpp')
-rw-r--r-- | components/V4L2DecodeInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/V4L2DecodeInterface.cpp b/components/V4L2DecodeInterface.cpp index d22f77b..32483be 100644 --- a/components/V4L2DecodeInterface.cpp +++ b/components/V4L2DecodeInterface.cpp @@ -267,9 +267,9 @@ V4L2DecodeInterface::V4L2DecodeInterface(const std::string& name, const C2Allocator::id_t inputAllocators[] = {secureMode ? V4L2AllocatorId::SECURE_LINEAR : C2AllocatorStore::DEFAULT_LINEAR}; - const C2Allocator::id_t outputAllocators[] = {V4L2AllocatorId::V4L2_BUFFERPOOL}; + const C2Allocator::id_t outputAllocators[] = {C2PlatformAllocatorStore::GRALLOC}; const C2Allocator::id_t surfaceAllocator = - secureMode ? V4L2AllocatorId::SECURE_GRAPHIC : V4L2AllocatorId::V4L2_BUFFERQUEUE; + secureMode ? V4L2AllocatorId::SECURE_GRAPHIC : C2PlatformAllocatorStore::BUFFERQUEUE; const C2BlockPool::local_id_t outputBlockPools[] = {C2BlockPool::BASIC_GRAPHIC}; addParameter( |