summaryrefslogtreecommitdiff
path: root/src/v4l.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l.cc')
-rw-r--r--src/v4l.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4l.cc b/src/v4l.cc
index e649209..f220403 100644
--- a/src/v4l.cc
+++ b/src/v4l.cc
@@ -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);