diff options
Diffstat (limited to 'client/display_channel.cpp')
-rw-r--r-- | client/display_channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp index 4f89e066..c371f4a5 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.cpp @@ -290,7 +290,7 @@ VideoStream::VideoStream(RedClient& client, Canvas& canvas, DisplayChannel& chan _pixmap.width = src_width; _pixmap.height = src_height; - _mjpeg_decoder = new MJpegDecoder(stream_width, stream_height, _stride, _uncompressed_data); + _mjpeg_decoder = new MJpegDecoder(stream_width, stream_height, _stride, _uncompressed_data, channel.get_peer_major() == 1); #ifdef WIN32 SetViewportOrgEx(_dc, 0, stream_height - src_height, NULL); |