mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
commit
df2a079693
File diff suppressed because it is too large
Load Diff
@ -1,24 +0,0 @@
|
|||||||
From 91f6e594dcd0f657b17d3ffa2e64972b5fb3339d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lukas Rusak <lorusak@gmail.com>
|
|
||||||
Date: Fri, 19 Jul 2019 09:35:02 -0700
|
|
||||||
Subject: [PATCH] windowing/gbm: quirk imx-drm to only allow selecting an
|
|
||||||
overlay plane for video
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/windowing/gbm/DRMUtils.cpp | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/xbmc/windowing/gbm/DRMUtils.cpp b/xbmc/windowing/gbm/DRMUtils.cpp
|
|
||||||
index bbbc447498cf..bb8baf42dab9 100644
|
|
||||||
--- a/xbmc/windowing/gbm/DRMUtils.cpp
|
|
||||||
+++ b/xbmc/windowing/gbm/DRMUtils.cpp
|
|
||||||
@@ -370,6 +370,9 @@ drmModePlanePtr CDRMUtils::FindPlane(drmModePlaneResPtr resources, int crtc_inde
|
|
||||||
{
|
|
||||||
case KODI_VIDEO_PLANE:
|
|
||||||
{
|
|
||||||
+ if (m_module == "imx-drm" && props->prop_values[j] != DRM_PLANE_TYPE_OVERLAY)
|
|
||||||
+ break;
|
|
||||||
+
|
|
||||||
if (SupportsFormat(plane, DRM_FORMAT_NV12))
|
|
||||||
{
|
|
||||||
CLog::Log(LOGDEBUG, "CDRMUtils::%s - found video plane %u", __FUNCTION__, plane->plane_id);
|
|
Loading…
x
Reference in New Issue
Block a user