1
0
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:
Rolf Ahrenberg 2010-08-23 09:34:57 +03:00
parent 2567501b65
commit d126da8ed8
2 changed files with 3 additions and 1 deletions

View File

@ -148,3 +148,5 @@ VDR Plugin 'iptv' Revision History
experimental Tid/Nid support into it.
- Added validation for source addresses of socket data.
- Fixed audio pid detection in pid scanner.
- Changed ProvidesChannel() to set the need of detaching
receivers due to VDR's channel selection mechanism.

View File

@ -193,7 +193,7 @@ bool cIptvDevice::ProvidesTransponder(const cChannel *Channel) const
bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
{
bool result = false;
bool needsDetachReceivers = false;
bool needsDetachReceivers = true;
debug("cIptvDevice::ProvidesChannel(%d)\n", deviceIndex);
if (ProvidesTransponder(Channel))