mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
use cReceiver::SetPriority(...) in VDR 2.1.4+
This commit is contained in:
parent
84c6f6b6f3
commit
fc52e920ad
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- use cReceiver::SetPriority(...) in VDR 2.1.4+
|
||||||
- doubled size of client's filter buffer (suggested by Toerless Eckert)
|
- doubled size of client's filter buffer (suggested by Toerless Eckert)
|
||||||
- make sure TimedWrite(...) doesn't return failure after a slow but successful
|
- make sure TimedWrite(...) doesn't return failure after a slow but successful
|
||||||
write operation (thanks to Toerless Eckert)
|
write operation (thanks to Toerless Eckert)
|
||||||
|
@ -443,6 +443,12 @@ bool cStreamdevLiveStreamer::SetPids(int Pid, const int *Pids1, const int *Pids2
|
|||||||
void cStreamdevLiveStreamer::SetPriority(int Priority)
|
void cStreamdevLiveStreamer::SetPriority(int Priority)
|
||||||
{
|
{
|
||||||
m_Priority = Priority;
|
m_Priority = Priority;
|
||||||
|
#if VDRVERSNUM >= 20104
|
||||||
|
cThreadLock ThreadLock(m_Device);
|
||||||
|
if (m_Receiver)
|
||||||
|
m_Receiver->SetPriority(Priority);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
StartReceiver();
|
StartReceiver();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user