diff -Nru vdr-plugin-streamdev-0.6.1-580~84c6f6b/client/filter.c vdr-plugin-streamdev-0.6.1-580~d66c635/client/filter.c --- vdr-plugin-streamdev-0.6.1-580~84c6f6b/client/filter.c 2015-03-13 16:04:10.000000000 +0000 +++ vdr-plugin-streamdev-0.6.1-580~d66c635/client/filter.c 2015-11-09 23:01:26.000000000 +0000 @@ -219,9 +219,8 @@ cStreamdevFilter *f = new cStreamdevFilter(Pid, Tid, Mask); int fh = f->ReadPipe(); - Lock(); + LOCK_THREAD; Add(f); - Unlock(); return fh; } diff -Nru vdr-plugin-streamdev-0.6.1-580~84c6f6b/debian/changelog vdr-plugin-streamdev-0.6.1-580~d66c635/debian/changelog --- vdr-plugin-streamdev-0.6.1-580~84c6f6b/debian/changelog 2015-03-13 16:04:15.000000000 +0000 +++ vdr-plugin-streamdev-0.6.1-580~d66c635/debian/changelog 2015-11-09 23:01:28.000000000 +0000 @@ -1,7 +1,11 @@ -vdr-plugin-streamdev (0.6.1-580~84c6f6b-trusty) trusty; urgency=medium +vdr-plugin-streamdev (0.6.1-580~d66c635-trusty) trusty; urgency=medium - * [84c6f6b6f363549e88efd01d12df35ae6e336578] - doubled size of client's filter buffer (fixes #2045) + * [d66c635a80b312e2e7277a8fe10f500b05317acd] + client compatibility with VDR 2.3.1 (refs #2243) + + + * [fc52e920ad7115b7b4ec80dc7e2b8784aa8bf281] + use cReceiver::SetPriority(...) in VDR 2.1.4+ - -- Andrey Pavlenko Fri, 13 Mar 2015 19:04:15 +0300 + -- Andrey Pavlenko Tue, 10 Nov 2015 02:01:28 +0300 diff -Nru vdr-plugin-streamdev-0.6.1-580~84c6f6b/HISTORY vdr-plugin-streamdev-0.6.1-580~d66c635/HISTORY --- vdr-plugin-streamdev-0.6.1-580~84c6f6b/HISTORY 2015-03-13 16:04:10.000000000 +0000 +++ vdr-plugin-streamdev-0.6.1-580~d66c635/HISTORY 2015-11-09 23:01:26.000000000 +0000 @@ -1,6 +1,8 @@ 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 write operation (thanks to Toerless Eckert) diff -Nru vdr-plugin-streamdev-0.6.1-580~84c6f6b/server/livestreamer.c vdr-plugin-streamdev-0.6.1-580~d66c635/server/livestreamer.c --- vdr-plugin-streamdev-0.6.1-580~84c6f6b/server/livestreamer.c 2015-03-13 16:04:10.000000000 +0000 +++ vdr-plugin-streamdev-0.6.1-580~d66c635/server/livestreamer.c 2015-11-09 23:01:26.000000000 +0000 @@ -443,7 +443,13 @@ void cStreamdevLiveStreamer::SetPriority(int Priority) { m_Priority = Priority; - StartReceiver(); +#if VDRVERSNUM >= 20104 + cThreadLock ThreadLock(m_Device); + if (m_Receiver) + m_Receiver->SetPriority(Priority); + else +#endif + StartReceiver(); } void cStreamdevLiveStreamer::GetSignal(int *DevNum, int *Strength, int *Quality) const