Libv4lconvert expects to receive downsampled data. With
jpeglib 7 the default changed to TRUE. So we have to
explicitely request downsampled data after reading the
JPEG header.
Thanks to Guido Vollbeding for pointing this out.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
}
data->cinfo.raw_data_out = TRUE;
+ data->cinfo.do_fancy_upsampling = FALSE;
jpeg_start_decompress(&data->cinfo);
/* Make libjpeg errors report that we've got some data */
data->jerr_errno = EPIPE;