aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/demux.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-04-30 21:39:35 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-04-30 21:39:35 +0000
commitfa458113395a4b8da3954b656dbe6c55b30f224a (patch)
treeab535494fa74ba597a83053c2619711d7d263b7a /lib/dvb/demux.cpp
parent46f28210d3fc839f621900e932f650e197688ce5 (diff)
downloadenigma2-fa458113395a4b8da3954b656dbe6c55b30f224a.tar.gz
enigma2-fa458113395a4b8da3954b656dbe6c55b30f224a.zip
send write error messages down to service events
Diffstat (limited to 'lib/dvb/demux.cpp')
-rw-r--r--lib/dvb/demux.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp
index 0fbd6fbd..22b09ffe 100644
--- a/lib/dvb/demux.cpp
+++ b/lib/dvb/demux.cpp
@@ -443,6 +443,7 @@ eDVBTSRecorder::eDVBTSRecorder(eDVBDemux *demux): m_demux(demux)
m_running = 0;
m_target_fd = -1;
m_thread = new eDVBRecordFileThread();
+ CONNECT(m_thread->m_event, eDVBTSRecorder::filepushEvent);
#ifndef HAVE_ADD_PID
m_demux->m_dvr_busy = 1;
#endif
@@ -648,3 +649,13 @@ void eDVBTSRecorder::stopPID(int pid)
#endif
m_pids[pid] = -1;
}
+
+void eDVBTSRecorder::filepushEvent(int event)
+{
+ switch (event)
+ {
+ case eFilePushThread::evtWriteError:
+ m_event(eventWriteError);
+ break;
+ }
+}