git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
this fix is sponsored by wc frisch
[enigma2.git]
/
lib
/
dvb
/
frontend.cpp
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index 37ce13a6e09b83c43566bde1395f3ad2ae55fe2d..b8debd81c21754a4caec1b6459a63ceeab047f4c 100644
(file)
--- 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
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)
{
}
if (m_state != state)
{
@@
-363,6
+368,7
@@
void eDVBFrontend::timeout()
m_state = state;
m_stateChanged(this);
}
m_state = state;
m_stateChanged(this);
}
+ m_tuning = 0;
} else
m_tuning = 0;
}
} else
m_tuning = 0;
}
@@
-610,8
+616,6
@@
RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
m_sec_sequence.clear();
m_sec_sequence.clear();
- eDebug("eDVBFrontend::tune. type: %d", m_type);
-
switch (m_type)
{
case feSatellite:
switch (m_type)
{
case feSatellite: