[Spice-commits] spice/enums.h spice/protocol.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Jan 6 12:25:33 UTC 2017


 spice/enums.h    |    1 +
 spice/protocol.h |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 9da109a661aebbb40d1903f6cac59da95a65f9d5
Author: Victor Toso <me at victortoso.com>
Date:   Fri Jan 6 09:18:56 2017 +0100

    protocol: add preferred video codec message
    
    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>

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-commits mailing list