mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
iMX6: add kodi patch to disable video plane
This commit is contained in:
parent
d390378c97
commit
ed71b465fe
@ -0,0 +1,25 @@
|
|||||||
|
From 87a462afd9ff9f487b2a33f065df775ccfef8af2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lukas Rusak <lorusak@gmail.com>
|
||||||
|
Date: Mon, 15 Feb 2021 14:22:28 -0800
|
||||||
|
Subject: [PATCH 2/2] [hack] disable use of video plane
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/windowing/gbm/drm/DRMUtils.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/windowing/gbm/drm/DRMUtils.cpp b/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
||||||
|
index 5593ce086b..603c8265c9 100644
|
||||||
|
--- a/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
||||||
|
+++ b/xbmc/windowing/gbm/drm/DRMUtils.cpp
|
||||||
|
@@ -184,7 +184,7 @@ bool CDRMUtils::FindPlanes()
|
||||||
|
auto videoPlane = std::find_if(m_planes.begin(), m_planes.end(), [&i](auto& plane) {
|
||||||
|
if (plane->GetPossibleCrtcs() & (1 << i))
|
||||||
|
{
|
||||||
|
- return plane->SupportsFormat(DRM_FORMAT_NV12);
|
||||||
|
+ return false;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user