mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-18 07:34:02 +00:00
fixed stepping of pointer to avoid re-parsing last bytes of settings data as separate commands and capture some frames after connecting
This commit is contained in:
@@ -509,6 +509,7 @@ void LiveScanClient::HandleSocket()
|
|||||||
i += 1;
|
i += 1;
|
||||||
|
|
||||||
m_iCompressionLevel = *(int*)(received.c_str() + i);
|
m_iCompressionLevel = *(int*)(received.c_str() + i);
|
||||||
|
i += sizeof(int);
|
||||||
if (m_iCompressionLevel > 0)
|
if (m_iCompressionLevel > 0)
|
||||||
m_bFrameCompression = true;
|
m_bFrameCompression = true;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user