mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
use cReceiver::SetPriority(...) in VDR 2.1.4+
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user