mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
Don't send padding over the network with video data
This commit is contained in:
parent
12bc82da5c
commit
7861ba0921
@ -621,9 +621,7 @@ channel DisplayChannel : BaseChannel {
|
||||
uint32 id;
|
||||
uint32 multi_media_time;
|
||||
uint32 data_size;
|
||||
uint32 pad_size;
|
||||
uint8 data[data_size] @end @nomarshal;
|
||||
uint8 padding[pad_size] @end @ctype(uint8_t) @nomarshal; /* Uhm, why are we sending padding over network? */
|
||||
} stream_data;
|
||||
|
||||
message {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user