A lot of video related changes

This commit is contained in:
WolverinDEV 2020-12-12 00:16:40 +01:00
parent 99e68cd5c4
commit 5398ca65f2
2 changed files with 3 additions and 2 deletions

2
rtclib

@ -1 +1 @@
Subproject commit d9150b3af8e5f57f0cd4cd2996b05495dc361bd1
Subproject commit e21361f1b6a27c8674d2efd463a98a2f596c4e9f

View File

@ -40,8 +40,9 @@ PacketDecoder::~PacketDecoder() {
void PacketDecoder::reset() {
std::lock_guard buffer_lock(this->packet_buffer_lock);
for(auto& buffer : this->_command_fragment_buffers)
for(auto& buffer : this->_command_fragment_buffers) {
buffer.reset();
}
}
PacketProcessResult PacketDecoder::process_incoming_data(ClientPacketParser &packet_parser, std::string& error) {