diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-03 20:55:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-13 17:29:49 +0100 |
commit | d9d62469d7a52c6299c1bb8f6f9c016f2fcff03e (patch) | |
tree | 1813637a08060b72d9346db7619bc279926d3edd | |
parent | Move core start into right file (diff) | |
download | p2pvr-d9d62469d7a52c6299c1bb8f6f9c016f2fcff03e.tar.bz2 p2pvr-d9d62469d7a52c6299c1bb8f6f9c016f2fcff03e.tar.xz p2pvr-d9d62469d7a52c6299c1bb8f6f9c016f2fcff03e.zip |
Log size of data being decompressed as it gives rudimentary clue as to what it is
-rw-r--r-- | p2pvr/devices/mockTuner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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__); |