summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Gouget <fgouget@codeweavers.com>2016-03-01 16:50:16 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2016-03-10 16:59:18 +0100
commit00db44087807335e74c8f65ea3e6fde0b684e7db (patch)
treeacc43061e15790b221b947c6aff738c9d80398c6
parent279be89836f579c81cbc5c6790476d851a912244 (diff)
downloadspice-common-00db44087807335e74c8f65ea3e6fde0b684e7db.tar.gz
spice-common-00db44087807335e74c8f65ea3e6fde0b684e7db.tar.xz
spice-common-00db44087807335e74c8f65ea3e6fde0b684e7db.zip
protocol: Add support for the VP8 and h264 video codecs
Clients that support multiple codecs must advertise the SPICE_DISPLAY_CAP_MULTI_CODEC capability and one SPICE_DISPLAY_CAP_CODEC_XXX per supported codec. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com> (cherry picked from spice-protocol commit 7937915d67702a5c4b5147b277c432f5555e3852) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
-rw-r--r--spice.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto
index af970f2..4a0778d 100644
--- a/spice.proto
+++ b/spice.proto
@@ -329,6 +329,8 @@ flags8 path_flags { /* TODO: C enum names changes */
enum8 video_codec_type {
MJPEG = 1,
+ VP8,
+ H264,
};
flags8 stream_flags {