summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spice/stream-device.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/spice/stream-device.h b/spice/stream-device.h
index 15d839b..03d7c61 100644
--- a/spice/stream-device.h
+++ b/spice/stream-device.h
@@ -63,8 +63,8 @@
typedef struct StreamDevHeader {
/* should be STREAM_DEVICE_PROTOCOL */
uint8_t protocol_version;
- /* reserved, should be set to 0 */
- uint8_t padding;
+ /* use for multiple stream in a single device */
+ uint8_t stream_id;
/* as defined in StreamMsgType enumeration */
uint16_t type;
/* size of the following message.
@@ -134,7 +134,11 @@ typedef struct StreamMsgFormat {
uint32_t height;
/* as defined in SpiceVideoCodecType enumeration */
uint8_t codec;
- uint8_t padding1[3];
+ uint8_t card_id;
+ uint8_t monitor_id;
+ uint8_t padding;
+ uint32_t stream_x;
+ uint32_t stream_y;
} StreamMsgFormat;
/* This message contains just raw data stream.