Don't send padding over the network with video data

This commit is contained in:
Alexander Larsson 2010-07-20 11:33:57 +02:00 committed by Marc-André Lureau
parent 12bc82da5c
commit 7861ba0921
2 changed files with 2 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {