mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
vdr-plugin-streamdev: deadlock fix for vdr 2.3.9+
This commit is contained in:
parent
8463ee04b7
commit
ecc7b348f7
@ -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)) {
|
Loading…
x
Reference in New Issue
Block a user