diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-19 18:49:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-19 18:49:07 +0200 |
commit | e82aabb64e8ce02ef350eb324b0034b25239ae85 (patch) | |
tree | d3b78ffed1984b4b757da9b9d43c0ffd1599810a | |
parent | c854a0b275d9774b1fcb4bc5a283f610e4ab207f (diff) |
Fix YUYV colour space.
-rw-r--r-- | src/v4l.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ static void toJpeg(int quality, unsigned char *yuyv, cinfo.image_width = image_width; // image width and height, in pixels cinfo.image_height = image_height; cinfo.input_components = 3; // # of color components per pixel - cinfo.in_color_space = JCS_RGB; // colorspace of input image + cinfo.in_color_space = JCS_YCbCr; // colorspace of input image jpeg_set_defaults(&cinfo); |