From d9d62469d7a52c6299c1bb8f6f9c016f2fcff03e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 3 Feb 2015 20:55:30 +0000 Subject: Log size of data being decompressed as it gives rudimentary clue as to what it is --- p2pvr/devices/mockTuner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2pvr/devices/mockTuner.cpp b/p2pvr/devices/mockTuner.cpp index fa21b9a..1cb1ce3 100644 --- a/p2pvr/devices/mockTuner.cpp +++ b/p2pvr/devices/mockTuner.cpp @@ -50,7 +50,7 @@ Ice::ByteSeq MockTuner::Decompress(const Ice::ByteSeq & dataxz) strm.avail_in = dataxz.size(); uint8_t buf[BUFSIZ]; - Logger()->messagebf(LOG_DEBUG, "%s: decompress", __PRETTY_FUNCTION__); + Logger()->messagebf(LOG_DEBUG, "%s: decompress %d bytes", __PRETTY_FUNCTION__, dataxz.size()); Ice::ByteSeq data; data.reserve(dataxz.size() * 20); do { @@ -64,6 +64,7 @@ Ice::ByteSeq MockTuner::Decompress(const Ice::ByteSeq & dataxz) data.shrink_to_fit(); return data; } + void MockTuner::DecompressAndSendPackets(const Ice::ByteSeq & dataxz, const P2PVR::RawDataClientPrx & client, const Ice::Current & ice) const { Logger()->messagebf(LOG_DEBUG, "%s: deserialize", __PRETTY_FUNCTION__); -- cgit v1.2.3