From 651fcf85b7c31502eb4800b6cd43840f2944509a Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 20 Mar 2024 23:07:22 -0700 Subject: [PATCH] remove per frame log entry when client frame acks is off --- xrdp/xrdp_mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index e15cfd0b..61e097e6 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -3477,7 +3477,7 @@ xrdp_mm_process_enc_done(struct xrdp_mm *self) y = enc_done->y; cx = enc_done->cx; cy = enc_done->cy; - if (!enc_done->continuation) + if (client_ack && !enc_done->continuation) { libxrdp_fastpath_send_frame_marker(self->wm->session, 0, enc_done->frame_id); @@ -3489,7 +3489,7 @@ xrdp_mm_process_enc_done(struct xrdp_mm *self) x, y, x + cx, y + cy, 32, self->encoder->codec_id, cx, cy); - if (enc_done->last) + if (client_ack && enc_done->last) { libxrdp_fastpath_send_frame_marker(self->wm->session, 1, enc_done->frame_id);