mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Changed ProvidesChannel() to set the need of detaching receivers due to VDR's channel selection mechanism.
This commit is contained in:
parent
2567501b65
commit
d126da8ed8
2
HISTORY
2
HISTORY
@ -148,3 +148,5 @@ VDR Plugin 'iptv' Revision History
|
|||||||
experimental Tid/Nid support into it.
|
experimental Tid/Nid support into it.
|
||||||
- Added validation for source addresses of socket data.
|
- Added validation for source addresses of socket data.
|
||||||
- Fixed audio pid detection in pid scanner.
|
- Fixed audio pid detection in pid scanner.
|
||||||
|
- Changed ProvidesChannel() to set the need of detaching
|
||||||
|
receivers due to VDR's channel selection mechanism.
|
||||||
|
2
device.c
2
device.c
@ -193,7 +193,7 @@ bool cIptvDevice::ProvidesTransponder(const cChannel *Channel) const
|
|||||||
bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
|
bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
bool needsDetachReceivers = false;
|
bool needsDetachReceivers = true;
|
||||||
|
|
||||||
debug("cIptvDevice::ProvidesChannel(%d)\n", deviceIndex);
|
debug("cIptvDevice::ProvidesChannel(%d)\n", deviceIndex);
|
||||||
if (ProvidesTransponder(Channel))
|
if (ProvidesTransponder(Channel))
|
||||||
|
Loading…
Reference in New Issue
Block a user