Re: [vdr] [PATCH] cDevice::GetDeviceForTransponder(): fix a typo

2016-12-22 Thread Klaus Schmidinger
On 26.05.2016 17:58, glenvt18 wrote: d->MaySwitchTransponder(Channel) is always false here Please review, Sergey Chernyavskiy. --- device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.c b/device.c index 18867cd..542d120 100644 --- a/device.c +++ b/device.c @@ -34

Re: [vdr] [PATCH] cDevice::GetDeviceForTransponder(): fix a typo

2016-12-22 Thread glenvt18
I understand. But this code looks confusing (at least). And, just to draw your attention, there is no priority checking here unless MaySwitchTransponder() returns true on the second call (which would be really ugly). Thus, for example, this code (vdr.c:1109) if (NeedsTransponder |