]> git.sesse.net Git - nageru/commitdiff
Fix some flickering due to YCbCr interpretation.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 9 Sep 2018 22:45:51 +0000 (00:45 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 15 Sep 2018 17:39:49 +0000 (19:39 +0200)
video_stream.cpp

index c525aee6140ee96974f40deb9d0c349f01e10d88..f5ea6f4472e41b361722d5d8652b10161787c262 100644 (file)
@@ -155,7 +155,7 @@ VideoStream::VideoStream()
        image_format.color_space = COLORSPACE_sRGB;
        image_format.gamma_curve = GAMMA_sRGB;
        ycbcr_format.luma_coefficients = YCBCR_REC_709;
-       ycbcr_format.full_range = false;
+       ycbcr_format.full_range = true;  // JPEG.
        ycbcr_format.num_levels = 256;
        ycbcr_format.chroma_subsampling_x = 2;
        ycbcr_format.chroma_subsampling_y = 1;