vdr-plugin-streamdev: deadlock fix for vdr 2.3.9+

This commit is contained in:
mglae 2018-05-08 23:09:37 +02:00 committed by CvH
parent 8463ee04b7
commit ecc7b348f7

View File

@ -0,0 +1,15 @@
https://www.vdr-portal.de/forum/index.php?thread/131708-gel%C3%B6st-vdr-2-3-9-h%C3%A4ngt-bei-der-wiedergabe-von-aufnahmen-mit-rpihddevice/&postID=1303098#post1303098
diff --git a/client/device.c b/client/device.c
index a810f53..2e54e34 100644
--- a/client/device.c
+++ b/client/device.c
@@ -190,7 +190,6 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel,
bool cStreamdevDevice::SetPid(cPidHandle *Handle, int Type, bool On) {
Dprintf("SetPid, Pid=%d, Type=%d, On=%d, used=%d\n", Handle->pid, Type, On, Handle->used);
- LOCK_THREAD;
bool res = true;
if (Handle->pid && (On || !Handle->used)) {