summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-05-02 14:59:19 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-05-03 12:31:03 +0300
commit0f1fb0ecc2a2f5a3086b7697e26228c16b97693e (patch)
tree93923d1b821a1841b737ed8edff93af8c23f7a2f /client
parent21b857f3ce568735a8c7951652f3e412d69b6df8 (diff)
downloadspice-0f1fb0ecc2a2f5a3086b7697e26228c16b97693e.tar.gz
spice-0f1fb0ecc2a2f5a3086b7697e26228c16b97693e.tar.xz
spice-0f1fb0ecc2a2f5a3086b7697e26228c16b97693e.zip
Update the spice-common submodule
spice-common changes: STREAM_DATA_SIZED message was added in order to support video streams with frames that their size is different from the initial size that the stream was created with. This patch also includes server and client adjustments to the new SpiceMsgDisplayStreamData.
Diffstat (limited to 'client')
-rw-r--r--client/display_channel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp
index ebeacd2c..17bdf6a6 100644
--- a/client/display_channel.cpp
+++ b/client/display_channel.cpp
@@ -1419,7 +1419,7 @@ void DisplayChannel::handle_stream_data(RedPeer::InMessage* message)
SpiceMsgDisplayStreamData* stream_data = (SpiceMsgDisplayStreamData*)message->data();
VideoStream* stream;
- if (stream_data->id >= _streams.size() || !(stream = _streams[stream_data->id])) {
+ if (stream_data->base.id >= _streams.size() || !(stream = _streams[stream_data->base.id])) {
THROW("invalid stream");
}
@@ -1427,7 +1427,9 @@ void DisplayChannel::handle_stream_data(RedPeer::InMessage* message)
THROW("access violation");
}
- stream->push_data(stream_data->multi_media_time, stream_data->data_size, stream_data->data);
+ stream->push_data(stream_data->base.multi_media_time,
+ stream_data->data_size,
+ stream_data->data);
}
void DisplayChannel::handle_stream_clip(RedPeer::InMessage* message)