mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
xbmc: remove patch which crashes xbmc on RPi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4a82afe95b
commit
f42ad08af0
@ -1786,28 +1786,6 @@ index c216ce5..7235cb4 100644
|
|||||||
CDroppingStats::CGain gain;
|
CDroppingStats::CGain gain;
|
||||||
gain.gain = iGain;
|
gain.gain = iGain;
|
||||||
|
|
||||||
From 836b6b8bf9db684d2da80b8a731cda1cad936ceb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rainer Hochecker <fernetmenta@online.de>
|
|
||||||
Date: Sun, 28 Sep 2014 13:52:11 +0200
|
|
||||||
Subject: [PATCH 18/21] pthreads: use mutex protocol PTHREAD_PRIO_INHERIT
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/threads/platform/pthreads/Implementation.cpp | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/xbmc/threads/platform/pthreads/Implementation.cpp b/xbmc/threads/platform/pthreads/Implementation.cpp
|
|
||||||
index 628db54..123526d 100644
|
|
||||||
--- a/xbmc/threads/platform/pthreads/Implementation.cpp
|
|
||||||
+++ b/xbmc/threads/platform/pthreads/Implementation.cpp
|
|
||||||
@@ -38,6 +38,7 @@ namespace XbmcThreads
|
|
||||||
{
|
|
||||||
pthread_mutexattr_init(&recursiveAttr);
|
|
||||||
pthread_mutexattr_settype(&recursiveAttr,PTHREAD_MUTEX_RECURSIVE);
|
|
||||||
+ pthread_mutexattr_setprotocol(&recursiveAttr,PTHREAD_PRIO_INHERIT);
|
|
||||||
alreadyCalled = true;
|
|
||||||
}
|
|
||||||
return true; // note, we never call destroy.
|
|
||||||
|
|
||||||
From 39d509822eb5868fd66e3b844f3869f77fc95a82 Mon Sep 17 00:00:00 2001
|
From 39d509822eb5868fd66e3b844f3869f77fc95a82 Mon Sep 17 00:00:00 2001
|
||||||
From: Rainer Hochecker <fernetmenta@online.de>
|
From: Rainer Hochecker <fernetmenta@online.de>
|
||||||
Date: Sat, 4 Oct 2014 21:25:31 +0200
|
Date: Sat, 4 Oct 2014 21:25:31 +0200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user