From cd6d6efe36c0c4a889aca7721205f66a8ed453f3 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Mon, 24 Jul 2023 16:52:37 -0700 Subject: [PATCH] [WIP] 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()