[Spice-commits] common/messages.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Sat May 5 12:02:26 UTC 2018


 common/messages.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5729664523055511a2aa4db704a64a4dd65ff257
Author: Victor Toso <me at victortoso.com>
Date:   Thu Apr 19 08:40:39 2018 +0200

    messages: document limitation of id in StreamCreate
    
    Note that the ID limitation always existed but now we have the
    limitation in the protocol itself with SPICE_MAX_NUM_STREAMS
    
    Signed-off-by: Victor Toso <victortoso at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/common/messages.h b/common/messages.h
index b838881..4fc03d4 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -327,7 +327,7 @@ typedef struct SpiceMsgDisplayInvalOne {
 
 typedef struct SpiceMsgDisplayStreamCreate {
     uint32_t surface_id;
-    uint32_t id;
+    uint32_t id; /* Any number from 0 to SPICE_MAX_NUM_STREAMS - 1 */
     uint32_t flags;
     uint32_t codec_type;
     uint64_t stamp;


More information about the Spice-commits mailing list