summaryrefslogtreecommitdiff
path: root/spice1.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-20 11:33:57 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:49 +0100
commit68d204f649a5573a9c0005e4b8ca5586093adf49 (patch)
treeb29fde8b3a01ea978ae1206ed152c43c134fcb83 /spice1.proto
parent3f2739ebc9dad12fafa2a8b8e7369cae99bd361f (diff)
Don't send padding over the network with video data
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/spice1.proto b/spice1.proto
index e38a214..ebb2d6f 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -583,9 +583,9 @@ channel DisplayChannel : BaseChannel {
uint32 id;
uint32 multi_media_time;
uint32 data_size;
- uint32 pad_size;
+ uint32 pad_size @zero;
uint8 data[data_size] @end @nomarshal;
- uint8 padding[pad_size] @end @ctype(uint8_t) @nomarshal; /* Uhm, why are we sending padding over network? */
+ /* Ignore: uint8 padding[pad_size] */
} stream_data;
message {