From: ghost Date: Tue, 17 Feb 2009 10:09:28 +0000 (+0100) Subject: dont clear terrestrial and cable transponders when not needed X-Git-Tag: 2.6.0~418 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/6e7778ae1b3e258bc53e6ddd2a4635a84d07a92b?hp=e0700c8302b02d051be365dfdd6a2d14088cc85d dont clear terrestrial and cable transponders when not needed --- diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index e6108ab5..110cedd8 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -1201,15 +1201,17 @@ RESULT eDVBDB::removeServices(eDVBChannelID chid, unsigned int orbpos) if ((unsigned int)sat.orbital_position != orbpos) remove=false; } - if ( remove && chid.dvbnamespace != eNs ) + if ( remove && chid.dvbnamespace != eNs ) // namespace given? { - if (system == iDVBFrontend::feCable && chid.dvbnamespace.get() == (int)0xFFFF0000) + if ( system == iDVBFrontend::feCable && chid.dvbnamespace.get() == (int)0xFFFF0000 ) ; - else if (system == iDVBFrontend::feTerrestrial && chid.dvbnamespace.get() == (int)0xEEEE0000) + else if ( system == iDVBFrontend::feTerrestrial && chid.dvbnamespace.get() == (int)0xEEEE0000 ) ; else if ( chid.dvbnamespace != ch.dvbnamespace ) remove=false; } + else if ( system == iDVBFrontend::feCable || system == iDVBFrontend::feTerrestrial ) + remove=false; if ( remove && chid.original_network_id != eOnid && chid.original_network_id != ch.original_network_id ) remove=false; if ( remove && chid.transport_stream_id != eTsid && chid.transport_stream_id != ch.transport_stream_id )