mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The EIT scan now skips scanList entries if a device is already tuned to that transponder
This commit is contained in:
parent
6a09a2fbd6
commit
faf562fd4e
2
HISTORY
2
HISTORY
@ -9910,3 +9910,5 @@ Video Disk Recorder Revision History
|
||||
Ehrnsperger).
|
||||
- Fixed logging when a timer has entered the VPS margin.
|
||||
- The EIT scan no longer deletes the scanList if no device was switched in this pass.
|
||||
- The EIT scan now skips scanList entries if a device is already tuned to that
|
||||
transponder.
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: eitscan.c 5.2 2024/03/10 10:38:18 kls Exp $
|
||||
* $Id: eitscan.c 5.3 2024/03/10 11:16:29 kls Exp $
|
||||
*/
|
||||
|
||||
#include "eitscan.h"
|
||||
@ -150,7 +150,9 @@ void cEITScanner::Process(void)
|
||||
for (cScanData *ScanData = scanList->First(); ScanData; ScanData = scanList->Next(ScanData)) {
|
||||
const cChannel *Channel = ScanData->GetChannel();
|
||||
if (Channel) {
|
||||
if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
|
||||
if (Device->IsTunedToTransponder(Channel))
|
||||
scanList->Del(ScanData);
|
||||
else if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
|
||||
if (Device->ProvidesTransponder(Channel)) {
|
||||
if (Device->Priority() < 0) {
|
||||
if (const cPositioner *Positioner = Device->Positioner()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user