diff options
author | Frank Schmirler <vdr@schmirler.de> | 2012-05-27 01:31:45 +0200 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2012-05-27 01:31:45 +0200 |
commit | 16f8c75918d309042490ef5c853def735151cd2c (patch) | |
tree | bdab5e5a99d37eab51672075131bc4d260cf348b /client/device.c | |
parent | fffd5aef4f76cbf0638e4377e0bf8287f1279d55 (diff) | |
download | vdr-plugin-streamdev-16f8c75918d309042490ef5c853def735151cd2c.tar.gz vdr-plugin-streamdev-16f8c75918d309042490ef5c853def735151cd2c.tar.bz2 |
Dropped m_UpdatePriority
Diffstat (limited to 'client/device.c')
-rw-r--r-- | client/device.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/client/device.c b/client/device.c index 57f1b5b..87dd46c 100644 --- a/client/device.c +++ b/client/device.c @@ -158,8 +158,6 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel, LiveView ? "true" : "false"); LOCK_THREAD; - m_UpdatePriority = ClientSocket.SupportsPrio(); - if (LiveView) return false; @@ -180,8 +178,6 @@ bool cStreamdevDevice::SetPid(cPidHandle *Handle, int Type, bool On) { Dprintf("SetPid, Pid=%d, Type=%d, On=%d, used=%d\n", Handle->pid, Type, On, Handle->used); LOCK_THREAD; - m_UpdatePriority = ClientSocket.SupportsPrio(); - bool res = true; if (Handle->pid && (On || !Handle->used)) { res = ClientSocket.SetPid(Handle->pid, On); @@ -298,7 +294,7 @@ bool cStreamdevDevice::ReInit(void) { void cStreamdevDevice::UpdatePriority(bool SwitchingChannels) { if (m_Device) { m_Device->Lock(); - if (m_Device->m_UpdatePriority && ClientSocket.DataSocket(siLive)) { + if (ClientSocket.SupportsPrio() && ClientSocket.DataSocket(siLive)) { int Priority = m_Device->Priority(); // override TRANSFERPRIORITY (-1) with live TV priority from setup if (m_Device == cDevice::ActualDevice() && Priority == TRANSFERPRIORITY) { |