[PATCH 3/3] vnc: h264: send additional frames after the display is clean

2025-04-10 Thread Dietmar Maurer
So that encoder can improve the picture quality. Signed-off-by: Dietmar Maurer --- ui/vnc.c | 25 - ui/vnc.h | 3 +++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/ui/vnc.c b/ui/vnc.c index 2e60b55e47..4ba0b715fd 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -

Re: [PATCH 3/3] vnc: h264: send additional frames after the display is clean

2025-04-10 Thread Marc-André Lureau
On Mon, Apr 7, 2025 at 3:06 PM Dietmar Maurer wrote: > > So that encoder can improve the picture quality. > > Signed-off-by: Dietmar Maurer Reviewed-by: Marc-André Lureau > --- > ui/vnc.c | 25 - > ui/vnc.h | 3 +++ > 2 files changed, 27 insertions(+), 1 deletion(-) >

[PATCH 3/3] vnc: h264: send additional frames after the display is clean

2025-04-08 Thread Dietmar Maurer
The H264 implementation only sends frames when it detects changes in the server's framebuffer. This leads to artifacts when there are no further changes, as the internal H264 encoder may still contain data. This patch modifies the code to send a few additional frames in such situations to flush th