git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add pcr handling
[enigma2.git]
/
lib
/
dvb
/
scan.cpp
diff --git
a/lib/dvb/scan.cpp
b/lib/dvb/scan.cpp
index 65eb053c39c63fb585e0f54a36011244b5f01ac1..0fc3e0a8ed34c04accff85149505ea3f677f4872 100644
(file)
--- a/
lib/dvb/scan.cpp
+++ b/
lib/dvb/scan.cpp
@@
-13,8
+13,8
@@
#include <lib/base/eerror.h>
#include <errno.h>
#include <lib/base/eerror.h>
#include <errno.h>
-#define SCAN_eDebug(x...)
-#define SCAN_eDebugNoNewLine(x...)
+#define SCAN_eDebug(x...)
eDebug(x)
+#define SCAN_eDebugNoNewLine(x...)
eDebugNoNewLine(x)
DEFINE_REF(eDVBScan);
DEFINE_REF(eDVBScan);
@@
-96,11
+96,17
@@
RESULT eDVBScan::nextChannel()
m_ch_toScan.pop_front();
if (m_channel->getFrontend(fe))
m_ch_toScan.pop_front();
if (m_channel->getFrontend(fe))
+ {
+ m_event(evtFail);
return -ENOTSUP;
return -ENOTSUP;
+ }
m_channel_state = iDVBChannel::state_idle;
if (fe->tune(*m_ch_current))
m_channel_state = iDVBChannel::state_idle;
if (fe->tune(*m_ch_current))
+ {
+ m_event(evtFail);
return -EINVAL;
return -EINVAL;
+ }
m_event(evtUpdate);
return 0;
m_event(evtUpdate);
return 0;