From d126da8ed89b6f29cb5570b16c29260af6251644 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Mon, 23 Aug 2010 09:34:57 +0300 Subject: [PATCH] Changed ProvidesChannel() to set the need of detaching receivers due to VDR's channel selection mechanism. --- HISTORY | 2 ++ device.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 455f6ec..04efced 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/device.c b/device.c index d79425c..827475f 100644 --- a/device.c +++ b/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 result = false; - bool needsDetachReceivers = false; + bool needsDetachReceivers = true; debug("cIptvDevice::ProvidesChannel(%d)\n", deviceIndex); if (ProvidesTransponder(Channel))