summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnir Sheriber <ssheribe@redhat.com>2018-06-18 12:20:31 +0300
committerFrediano Ziglio <fziglio@redhat.com>2018-06-20 03:18:45 +0100
commit9f5859c3ba5e1885dec78f131f96c93bbc37bc80 (patch)
tree72fb1b640b66ec1181e7a3ce082dab177a8863e0
parentab9e194c04af7c7bfe830f6f77efe34e6ac2cbbb (diff)
Support h265 in stream-channel
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--configure.ac2
-rw-r--r--server/stream-channel.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2443ccf3..6cbd6a99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -158,7 +158,7 @@ AS_IF([test x"$have_smartcard" = "xyes"], [
AS_VAR_APPEND([SPICE_REQUIRES], [" libcacard >= 0.1.2"])
])
-SPICE_PROTOCOL_MIN_VER=0.12.14
+SPICE_PROTOCOL_MIN_VER=0.12.15
PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= $SPICE_PROTOCOL_MIN_VER])
AC_SUBST([SPICE_PROTOCOL_MIN_VER])
diff --git a/server/stream-channel.c b/server/stream-channel.c
index 680fa3d1..a7ab0238 100644
--- a/server/stream-channel.c
+++ b/server/stream-channel.c
@@ -356,6 +356,7 @@ stream_channel_get_supported_codecs(StreamChannel *channel, uint8_t *out_codecs)
SPICE_DISPLAY_CAP_CODEC_VP8,
SPICE_DISPLAY_CAP_CODEC_H264,
SPICE_DISPLAY_CAP_CODEC_VP9,
+ SPICE_DISPLAY_CAP_CODEC_H265,
};
bool supported[SPICE_N_ELEMENTS(codec2cap)];