aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-09 17:31:11 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-09 17:31:11 +0000
commitc2f1a638b1eb861d1a8e97530adfcefd65ff6ac0 (patch)
treee9dcd978df830b03690a5502362275dc666bddbc /lib/dvb/frontend.cpp
parentefd666f5dfe5a6d355d0ba60683c9457714f75e9 (diff)
downloadenigma2-c2f1a638b1eb861d1a8e97530adfcefd65ff6ac0.tar.gz
enigma2-c2f1a638b1eb861d1a8e97530adfcefd65ff6ac0.zip
differentiate between failures while and after tuning
Diffstat (limited to 'lib/dvb/frontend.cpp')
-rw-r--r--lib/dvb/frontend.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 37ce13a6..b8debd81 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -341,7 +341,12 @@ void eDVBFrontend::feEvent(int w)
if (m_tuning)
state = stateTuning;
else
- state = stateFailed;
+ {
+ state = stateLostLock;
+
+ if (m_state != stateLostLock)
+ eDebug("FIXME: we lost lock, so we might have to retune.");
+ }
}
if (m_state != state)
{
@@ -363,6 +368,7 @@ void eDVBFrontend::timeout()
m_state = state;
m_stateChanged(this);
}
+ m_tuning = 0;
} else
m_tuning = 0;
}
@@ -610,8 +616,6 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
m_sec_sequence.clear();
- eDebug("eDVBFrontend::tune. type: %d", m_type);
-
switch (m_type)
{
case feSatellite: