From 5f664e0ffb62c4a1d13b7647aea3c1115150eb88 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 20 Jul 2010 11:33:57 +0200 Subject: Don't send padding over the network with video data --- spice1.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spice1.proto') diff --git a/spice1.proto b/spice1.proto index e38a2145..ebb2d6f6 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 { -- cgit