X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2FConfiguration.java;h=2932c0156f4bad742625ded99885777249fb5cd9;hb=da7bef43fc02577bf25293b0cda7e7fca01f26ec;hp=d91bfb6b1200b199b03dcd3abc88720e560747e8;hpb=ed56b145bc04170b4129f4ff92b9eab0e6e4dc74;p=kaka%2Fcakelight.git diff --git a/src/kaka/cakelight/Configuration.java b/src/kaka/cakelight/Configuration.java index d91bfb6..2932c01 100644 --- a/src/kaka/cakelight/Configuration.java +++ b/src/kaka/cakelight/Configuration.java @@ -70,13 +70,13 @@ public class Configuration { bpp = Integer.parseInt(get(prop, "video.bpp", "2")); switch (get(prop, "video.format", "").toUpperCase()) { case "YUYV": - format = Imgproc.COLOR_YUV2RGB_YUYV; + format = Imgproc.COLOR_YUV2BGR_YUYV; break; case "YVYU": - format = Imgproc.COLOR_YUV2RGB_YVYU; + format = Imgproc.COLOR_YUV2BGR_YVYU; break; default: - format = Imgproc.COLOR_YUV2RGB_UYVY; + format = Imgproc.COLOR_YUV2BGR_UYVY; } crop = new CropConfiguration(prop); }