[Spice-devel] JPEG error - Application transferred too few scanlines

Christophe Fergeau cfergeau at redhat.com
Wed Jul 27 09:11:32 PDT 2011


On Wed, Jul 27, 2011 at 06:03:28PM +0200, Andrea Celestino wrote:
> During my testing with video, I encountered this error on spice Server
> 
> "Application transferred too few scanlines"
> 
> and the server crashes.
> 
> Surfing on the net, I found this in jerror.h:
> 
> JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")

Yep, I broke that in master, it's caused by the mjpeg changes, the "height"
used when calling mjpeg_encoder_new is 1 byte less than the height which is
then used in the loop around mjpeg_encoder_encode_scanline.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110727/7e8d3165/attachment.pgp>


More information about the Spice-devel mailing list