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
|
||||
---------------------------------------
|
||||
|
||||
- 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)
|
||||
|
@ -443,7 +443,13 @@ bool cStreamdevLiveStreamer::SetPids(int Pid, const int *Pids1, const int *Pids2
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user