aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/db.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-02-17 11:09:28 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-02-17 11:09:28 +0100
commit6e7778ae1b3e258bc53e6ddd2a4635a84d07a92b (patch)
tree23c508c2c0ac019df152bffa99532a45657c16ac /lib/dvb/db.cpp
parente0700c8302b02d051be365dfdd6a2d14088cc85d (diff)
downloadenigma2-6e7778ae1b3e258bc53e6ddd2a4635a84d07a92b.tar.gz
enigma2-6e7778ae1b3e258bc53e6ddd2a4635a84d07a92b.zip
dont clear terrestrial and cable transponders when not needed
Diffstat (limited to 'lib/dvb/db.cpp')
-rw-r--r--lib/dvb/db.cpp8
1 files changed, 5 insertions, 3 deletions
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 )