This commit is contained in:
Lauri Kasanen
2022-07-26 10:38:14 +00:00
committed by Matthew McClaskey
parent ba902f8194
commit 3b40a92548
72 changed files with 3314 additions and 52 deletions

View File

@@ -188,7 +188,7 @@ void TightWEBPEncoder::writeOnly(const std::vector<uint8_t> &out) const
{
rdr::OutStream* os;
os = conn->getOutStream();
os = conn->getOutStream(conn->cp.supportsUdp);
os->writeU8(tightWebp << 4);
@@ -248,7 +248,7 @@ void TightWEBPEncoder::writeRect(const PixelBuffer* pb, const Palette& palette)
vlog.error("WEBP error %u", pic.error_code);
}
os = conn->getOutStream();
os = conn->getOutStream(conn->cp.supportsUdp);
os->writeU8(tightWebp << 4);