[Spice-devel] [PATCH spice-protocol] Add support for h265 video codec

Snir Sheriber ssheribe at redhat.com
Mon Jun 18 09:20:29 UTC 2018


Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
---
 spice/enums.h    | 1 +
 spice/protocol.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/spice/enums.h b/spice/enums.h
index f593777..34e84c3 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -162,6 +162,7 @@ typedef enum SpiceVideoCodecType {
     SPICE_VIDEO_CODEC_TYPE_VP8,
     SPICE_VIDEO_CODEC_TYPE_H264,
     SPICE_VIDEO_CODEC_TYPE_VP9,
+    SPICE_VIDEO_CODEC_TYPE_H265,
 
     SPICE_VIDEO_CODEC_TYPE_ENUM_END
 } SpiceVideoCodecType;
diff --git a/spice/protocol.h b/spice/protocol.h
index 6cc65b8..c5cbb6b 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -149,6 +149,7 @@ enum {
     SPICE_DISPLAY_CAP_CODEC_H264,
     SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE,
     SPICE_DISPLAY_CAP_CODEC_VP9,
+    SPICE_DISPLAY_CAP_CODEC_H265,
 };
 
 enum {
-- 
2.17.0



More information about the Spice-devel mailing list