X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb%2Fpmt.cpp;h=0198c8f75b3a711e5eb94b8ff887f09608b8f96f;hb=7882dec4e8e3e87cee0cf4eeb781119c196ba725;hp=279ec74f723eb5e1092f32b79ea833d6cebb669d;hpb=a0f0f0b446b7b0fd941194299fa4840b609df1f0;p=vuplus_dvbapp diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp index 279ec74..0198c8f 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())