summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2014-12-19 00:11:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:36 +0100
commit3da46a45ea9926cecd52f05f88db94cac439aee2 (patch)
tree2c9dc803023ce8ced405ee32e7359efaeb8d1190
parentAdd mock tuner with sample SI data (diff)
downloadp2pvr-3da46a45ea9926cecd52f05f88db94cac439aee2.tar.bz2
p2pvr-3da46a45ea9926cecd52f05f88db94cac439aee2.tar.xz
p2pvr-3da46a45ea9926cecd52f05f88db94cac439aee2.zip
Adds a second day of event data
-rw-r--r--p2pvr/devices/mockTuner.cpp5
-rw-r--r--p2pvr/devices/sampleSiData/events1.datxz (renamed from p2pvr/devices/sampleSiData/events.datxz)bin1112856 -> 1112856 bytes
-rw-r--r--p2pvr/devices/sampleSiData/events2.datxzbin0 -> 417328 bytes
3 files changed, 3 insertions, 2 deletions
diff --git a/p2pvr/devices/mockTuner.cpp b/p2pvr/devices/mockTuner.cpp
index 10e77b7..335ddec 100644
--- a/p2pvr/devices/mockTuner.cpp
+++ b/p2pvr/devices/mockTuner.cpp
@@ -20,7 +20,8 @@ static const Ice::ByteSeq resource(&resource##_start, &resource##_end);
ResourceFile(network);
ResourceFile(services);
-ResourceFile(events);
+ResourceFile(events1);
+ResourceFile(events2);
void MockTuner::TuneTo(const DVBSI::DeliveryPtr &, const Ice::Current&)
{
@@ -97,7 +98,7 @@ void MockTuner::SendProgramAssociationTable(const P2PVR::RawDataClientPrx &, con
void MockTuner::SendEventInformation(const P2PVR::RawDataClientPrx & client, const Ice::Current & ice)
{
- DecompressAndSendPackets(events, client, ice);
+ DecompressAndSendPackets(events1, client, ice);
}
int MockTuner::StartSendingTS(const P2PVR::PacketIds &, const P2PVR::RawDataClientPrx &, const Ice::Current &)
diff --git a/p2pvr/devices/sampleSiData/events.datxz b/p2pvr/devices/sampleSiData/events1.datxz
index a84d777..a84d777 100644
--- a/p2pvr/devices/sampleSiData/events.datxz
+++ b/p2pvr/devices/sampleSiData/events1.datxz
Binary files differ
diff --git a/p2pvr/devices/sampleSiData/events2.datxz b/p2pvr/devices/sampleSiData/events2.datxz
new file mode 100644
index 0000000..138fc4d
--- /dev/null
+++ b/p2pvr/devices/sampleSiData/events2.datxz
Binary files differ