aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/dvb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/dvb.cpp')
-rw-r--r--lib/dvb/dvb.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp
index 8b442e3d..8f4022ec 100644
--- a/lib/dvb/dvb.cpp
+++ b/lib/dvb/dvb.cpp
@@ -369,6 +369,7 @@ void eDVBResourceManager::DVBChannelStateChanged(iDVBChannel *chan)
chan->getState(state);
switch (state)
{
+ case iDVBChannel::state_release:
case iDVBChannel::state_ok:
{
eDebug("stop release channel timer");
@@ -814,7 +815,10 @@ void eDVBChannel::getNextSourceSpan(off_t current_offset, size_t bytes_read, off
void eDVBChannel::AddUse()
{
if (++m_use_count > 1 && m_state == state_last_instance)
+ {
m_state = state_ok;
+ m_stateChanged(this);
+ }
}
void eDVBChannel::ReleaseUse()