aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-17 12:58:46 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-17 12:58:46 +0000
commitde62aa9ce9d8b1ff8ffe12b334e68802c120e35b (patch)
treef3c8295ddf21c28b71ce9bfd080c4d9a177dc48d /lib/dvb/frontend.cpp
parent2601ee77efe1f10be7cbeb8af94e2fb229cc1ec1 (diff)
downloadenigma2-de62aa9ce9d8b1ff8ffe12b334e68802c120e35b.tar.gz
enigma2-de62aa9ce9d8b1ff8ffe12b334e68802c120e35b.zip
use fec from satellites.xml,
small work on scan
Diffstat (limited to 'lib/dvb/frontend.cpp')
-rw-r--r--lib/dvb/frontend.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 0bfb1f51..103d8949 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -177,8 +177,11 @@ RESULT eDVBFrontendParameters::calculateDifference(const iDVBFrontendParameters
diff = 1<<29;
else if (sat.polarisation != osat.polarisation)
diff = 1<<28;
- else
+ else
+ {
diff = abs(sat.frequency - osat.frequency);
+ diff += abs(sat.symbol_rate - osat.symbol_rate);
+ }
return 0;
}
case iDVBFrontend::feCable: