aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pmt.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-13 14:40:56 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-13 14:40:56 +0100
commit5698c2b573e69c2e62ee8212893f620f0588c208 (patch)
treeca7ce70925be8545b6a0842f9ce55d796621536f /lib/dvb/pmt.cpp
parent8351aa6cc857d1113b38f34e9c2dbd3e47ec9ffa (diff)
downloadenigma2-5698c2b573e69c2e62ee8212893f620f0588c208.tar.gz
enigma2-5698c2b573e69c2e62ee8212893f620f0588c208.zip
better fix for timeshift
Diffstat (limited to 'lib/dvb/pmt.cpp')
-rw-r--r--lib/dvb/pmt.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index 279ec74f..0198c8f7 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -605,12 +605,15 @@ void eDVBServicePMTHandler::SDTScanEvent(int event)
}
}
-int eDVBServicePMTHandler::tune(eServiceReferenceDVB &ref, int use_decode_demux, eCueSheet *cue, bool simulate)
+int eDVBServicePMTHandler::tune(eServiceReferenceDVB &ref, int use_decode_demux, eCueSheet *cue, bool simulate, eDVBService *service)
{
RESULT res=0;
m_reference = ref;
m_use_decode_demux = use_decode_demux;
+
+ /* use given service as backup. This is used for timeshift where we want to clone the live stream using the cache, but in fact have a PVR channel */
+ m_service = service;
/* is this a normal (non PVR) channel? */
if (ref.path.empty())