aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-03-31 23:24:18 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-03-31 23:53:29 +0200
commit65e19ae2a40a7598987c3e831d4f1ff0e7a673c5 (patch)
treeac619bf873090129e3718d4710ccb25490e5a7d3 /lib/dvb
parent85b69597116f1d9bcd52331c01f0d4fb4c6d3c60 (diff)
downloadenigma2-65e19ae2a40a7598987c3e831d4f1ff0e7a673c5.tar.gz
enigma2-65e19ae2a40a7598987c3e831d4f1ff0e7a673c5.zip
fixes bug #436 (again)
multi tuner support: add a magic sleep(1) to workaround strange behaviour write a magic 0 into /sys/module/dvb_core/parameters/dvb_shutdown_timeout
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/frontend.cpp2
-rw-r--r--lib/dvb/idvb.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 8216eea0..bc3a88da 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -485,7 +485,7 @@ eDVBFrontend::eDVBFrontend(int adap, int fe, int &ok, bool simulate)
void eDVBFrontend::reopenFrontend()
{
- closeFrontend();
+ sleep(1);
m_type = -1;
openFrontend();
}
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h
index a3e87e35..d20829bf 100644
--- a/lib/dvb/idvb.h
+++ b/lib/dvb/idvb.h
@@ -459,6 +459,7 @@ class iDVBFrontend: public iDVBFrontend_ENUMS, public iObject
public:
virtual RESULT getFrontendType(int &SWIG_OUTPUT)=0;
virtual RESULT tune(const iDVBFrontendParameters &where)=0;
+ virtual int closeFrontend(bool force = false)=0;
virtual void reopenFrontend()=0;
#ifndef SWIG
virtual RESULT connectStateChange(const Slot1<void,iDVBFrontend*> &stateChange, ePtr<eConnection> &connection)=0;