mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
xbmc: add patch to increase YV12 buffers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
760e6fa0c1
commit
444cecbdc2
@ -0,0 +1,34 @@
|
||||
From 0c2185d62f858f7b41461b4141e731dc7ec01ca6 Mon Sep 17 00:00:00 2001
|
||||
From: FernetMenta <fernetmenta@online.de>
|
||||
Date: Thu, 11 Aug 2011 18:35:18 +0200
|
||||
Subject: [PATCH] LinuxRendererGL: increase buffers to 3
|
||||
|
||||
---
|
||||
xbmc/cores/VideoRenderers/LinuxRendererGL.cpp | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||
index 18c6da4..79a9d90 100644
|
||||
--- a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||
+++ b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||
@@ -223,7 +223,7 @@ bool CLinuxRendererGL::ValidateRenderer()
|
||||
|
||||
void CLinuxRendererGL::ManageTextures()
|
||||
{
|
||||
- m_NumYV12Buffers = 2;
|
||||
+ m_NumYV12Buffers = 3;
|
||||
//m_iYV12RenderBuffer = 0;
|
||||
return;
|
||||
}
|
||||
@@ -720,7 +720,7 @@ unsigned int CLinuxRendererGL::PreInit()
|
||||
m_resolution = RES_PAL_4x3;
|
||||
|
||||
m_iYV12RenderBuffer = 0;
|
||||
- m_NumYV12Buffers = 2;
|
||||
+ m_NumYV12Buffers = 3;
|
||||
|
||||
// setup the background colour
|
||||
m_clearColour = (float)(g_advancedSettings.m_videoBlackBarColour & 0xff) / 0xff;
|
||||
--
|
||||
1.7.5.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user