diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-03-31 23:24:18 +0200 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-03-31 23:24:18 +0200 |
| commit | 6c69f8d469e17ce1f07775574526b76a2edf60c8 (patch) | |
| tree | 6ff3a0f3210b48189897b9ccd8efe9343981f6e1 /lib/dvb | |
| parent | 49c28cdf066b59559f76ad2e55e7f2bf6d7fa16e (diff) | |
| download | enigma2-6c69f8d469e17ce1f07775574526b76a2edf60c8.tar.gz enigma2-6c69f8d469e17ce1f07775574526b76a2edf60c8.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.cpp | 2 | ||||
| -rw-r--r-- | lib/dvb/idvb.h | 1 |
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; |
