diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-06-09 11:40:25 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:43 +0100 |
commit | 19bca5b373d9b8fa983f723a8daea54178b0a3ed (patch) | |
tree | 755ac3ff617194a24a8240b9d6190c9ced005d05 /common/gdi_canvas.c | |
parent | 41171d081d821278e002b3699517bf3a177046ff (diff) | |
download | spice-common-19bca5b373d9b8fa983f723a8daea54178b0a3ed.tar.gz spice-common-19bca5b373d9b8fa983f723a8daea54178b0a3ed.tar.xz spice-common-19bca5b373d9b8fa983f723a8daea54178b0a3ed.zip |
JPEG support: introducing jpeg encoding for spice bitmaps
Diffstat (limited to 'common/gdi_canvas.c')
-rw-r--r-- | common/gdi_canvas.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index af1de95..d01d9cd 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -1866,6 +1866,7 @@ SpiceCanvas *gdi_canvas_create(int width, int height, #endif , SpiceImageSurfaces *surfaces , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder ) { GdiCanvas *canvas; @@ -1884,7 +1885,8 @@ SpiceCanvas *gdi_canvas_create(int width, int height, , bits_cache #endif , surfaces - , glz_decoder); + , glz_decoder + , jpeg_decoder); canvas->dc = dc; canvas->lock = lock; return (SpiceCanvas *)canvas; |