[Spice-devel] [PATCH spice-protocol v5 2/9] protocol: add preferred video codec message

Frediano Ziglio fziglio at redhat.com
Fri Jan 6 12:26:45 UTC 2017


> 
> From: Victor Toso <me at victortoso.com>
> 
> Client might want to choose a preferred video codec for streaming for
> different reasons which having hardware decoder support being the most
> interest one.
> 
> This message allows the client to send a list of video codecs in a
> order of preference.
> 
> Signed-off-by: Victor Toso <victortoso at redhat.com>

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano

> ---
>  spice/enums.h    | 1 +
>  spice/protocol.h | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/spice/enums.h b/spice/enums.h
> index 743a4a8..0420da9 100644
> --- a/spice/enums.h
> +++ b/spice/enums.h
> @@ -529,6 +529,7 @@ enum {
>      SPICE_MSGC_DISPLAY_STREAM_REPORT,
>      SPICE_MSGC_DISPLAY_PREFERRED_COMPRESSION,
>      SPICE_MSGC_DISPLAY_GL_DRAW_DONE,
> +    SPICE_MSGC_DISPLAY_PREFERRED_VIDEO_CODEC_TYPE,
>  
>      SPICE_MSGC_END_DISPLAY
>  };
> diff --git a/spice/protocol.h b/spice/protocol.h
> index d742eda..657d835 100644
> --- a/spice/protocol.h
> +++ b/spice/protocol.h
> @@ -141,6 +141,7 @@ enum {
>      SPICE_DISPLAY_CAP_CODEC_MJPEG,
>      SPICE_DISPLAY_CAP_CODEC_VP8,
>      SPICE_DISPLAY_CAP_CODEC_H264,
> +    SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE,
>  };
>  
>  enum {



More information about the Spice-devel mailing list