[Spice-devel] [PATCH 1/2] gstreamer: Peephole optimisation

Pavel Grunt pgrunt at redhat.com
Wed Aug 3 09:57:04 UTC 2016


Ack

On Wed, 2016-08-03 at 10:54 +0100, Frediano Ziglio wrote:
> SpiceGstFrameInformation change from 24 to 16 bytes reducing
> SpiceGstEncoder 480 bytes.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/gstreamer-encoder.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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-devel mailing list