[Spice-commits] server/gstreamer-encoder.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Aug 3 10:10:24 UTC 2016


 server/gstreamer-encoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22d41e71aefcc65e968017f82d371252b0d09ac8
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Aug 2 17:33:22 2016 +0100

    gstreamer: Peephole optimisation
    
    SpiceGstFrameInformation change from 24 to 16 bytes reducing
    SpiceGstEncoder 480 bytes.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Pavel Grunt <pgrunt at redhat.com>

diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 396687d..e364ea3 100644
--- a/server/gstreamer-encoder.c
+++ b/server/gstreamer-encoder.c
@@ -59,8 +59,8 @@ typedef struct SpiceGstVideoBuffer {
 
 typedef struct {
     uint32_t mm_time;
-    uint64_t duration;
     uint32_t size;
+    uint64_t duration;
 } SpiceGstFrameInformation;
 
 typedef enum SpiceGstBitRateStatus {


More information about the Spice-commits mailing list