[gnome-remote-desktop] rdp-surface: Add attribute to indicate that encoding is suspended



commit 799a730d3b94896a7fb2698b21a2514d9bce957b
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Fri Mar 19 19:11:53 2021 +0100

    rdp-surface: Add attribute to indicate that encoding is suspended
    
    This attribute indicates, when set to TRUE, that a new frame for this
    RDP surface should not be encoded yet.
    It is independent of the graphics pipeline, meaning session-rdp can
    later use this attribute without considering whether the graphics
    pipeline is supported or not.
    It will, however, later only be used for the graphics pipeline.

 src/grd-rdp-surface.h | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/grd-rdp-surface.h b/src/grd-rdp-surface.h
index 78237a2..f8de416 100644
--- a/src/grd-rdp-surface.h
+++ b/src/grd-rdp-surface.h
@@ -34,6 +34,8 @@ struct _GrdRdpSurface
   uint8_t *pending_frame;
 
   gboolean valid;
+
+  gboolean encoding_suspended;
 };
 
 void grd_rdp_surface_free (GrdRdpSurface *rdp_surface);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]