From d66c635a80b312e2e7277a8fe10f500b05317acd Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 5 Oct 2015 01:02:13 +0200 Subject: [PATCH] client compatibility with VDR 2.3.1 (refs #2243) --- HISTORY | 1 + client/filter.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 645c8b3..3f394b8 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- client compatibility with VDR 2.3.1 - use cReceiver::SetPriority(...) in VDR 2.1.4+ - doubled size of client's filter buffer (suggested by Toerless Eckert) - make sure TimedWrite(...) doesn't return failure after a slow but successful diff --git a/client/filter.c b/client/filter.c index 94640d2..ffefa47 100644 --- a/client/filter.c +++ b/client/filter.c @@ -219,9 +219,8 @@ int cStreamdevFilters::OpenFilter(u_short Pid, u_char Tid, u_char Mask) { cStreamdevFilter *f = new cStreamdevFilter(Pid, Tid, Mask); int fh = f->ReadPipe(); - Lock(); + LOCK_THREAD; Add(f); - Unlock(); return fh; }