remove per frame log entry when client frame acks is off

This commit is contained in:
Jay Sorg 2024-03-20 23:07:22 -07:00
parent 45df24076f
commit 651fcf85b7
1 changed files with 2 additions and 2 deletions

View File

@ -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);