From 8466aeb64dbcc89db9a13959f742bb4a577bb314 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Sun, 31 Dec 2023 18:33:14 -0800 Subject: [PATCH] [WIP] utils: Force a GBM BO to be used It would be preferable to change the registration order instead. Also, we will still need a buffer import check for the input stream stuff as that needs to use DMA heaps. --- xbmc/utils/BufferObjectFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/utils/BufferObjectFactory.cpp b/xbmc/utils/BufferObjectFactory.cpp index 13ada4bac6b4f..5cc884239a351 100644 --- a/xbmc/utils/BufferObjectFactory.cpp +++ b/xbmc/utils/BufferObjectFactory.cpp @@ -33,7 +33,7 @@ std::unique_ptr CBufferObjectFactory::CreateBufferObject(bool nee void CBufferObjectFactory::RegisterBufferObject( const std::function()>& createFunc) { - m_bufferObjects.emplace_front(createFunc); + m_bufferObjects.emplace_back(createFunc); } void CBufferObjectFactory::ClearBufferObjects()