aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/dvb.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-07 00:20:02 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-07 00:20:02 +0000
commit77728f576114383a70a7126d88cd7b31e1588aa5 (patch)
tree948ed420fdd031025544f8496642f31f1234a39d /lib/dvb/dvb.cpp
parentbae52d13acd843bb03c6037433a34720fc6d471f (diff)
downloadenigma2-77728f576114383a70a7126d88cd7b31e1588aa5.tar.gz
enigma2-77728f576114383a70a7126d88cd7b31e1588aa5.zip
fix allocateRAWChannel (we must first give free the cached channel)
Diffstat (limited to 'lib/dvb/dvb.cpp')
-rw-r--r--lib/dvb/dvb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp
index b1e8ad54..ac5c1a5e 100644
--- a/lib/dvb/dvb.cpp
+++ b/lib/dvb/dvb.cpp
@@ -363,6 +363,9 @@ RESULT eDVBResourceManager::allocateRawChannel(eUsePtr<iDVBChannel> &channel, in
{
ePtr<eDVBAllocatedFrontend> fe;
+ if (m_cached_channel)
+ m_cached_channel=0;
+
if (allocateFrontendByIndex(fe, frontend_index))
return errNoFrontend;