kodi: fix FM patch again

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-11-10 12:02:09 +01:00
parent f4eb2af766
commit 313060e13e

View File

@ -1716,28 +1716,6 @@ index 707d609..e0709226 100644
VAProcFilterParameterBufferDeinterlacing *filterParams;
VABufferID pipelineBuf;
From 8a0a138bad535b58fb0d485540c21b08888cecb1 Mon Sep 17 00:00:00 2001
From: Rainer Hochecker <fernetmenta@online.de>
Date: Sun, 28 Sep 2014 13:52:11 +0200
Subject: [PATCH 16/24] 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 0d3311557fe32505770ed28bcb8fbcde7c751399 Mon Sep 17 00:00:00 2001
From: Rainer Hochecker <fernetmenta@online.de>
Date: Sat, 4 Oct 2014 21:25:31 +0200