summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index a1e32f6..e25013b 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1046,6 +1046,8 @@ int main(int argc, char *argv[])
pixelformat = V4L2_PIX_FMT_UYVY;
else if (strcasecmp(optarg, "Y16") == 0)
pixelformat = V4L2_PIX_FMT_Y16;
+ else if (strcasecmp(optarg, "Y8") == 0)
+ pixelformat = V4L2_PIX_FMT_GREY;
else if (strcasecmp(optarg, "SGRBG10_DPMC8") == 0)
pixelformat = V4L2_PIX_FMT_SGRBG10DPCM8;
else if (strcasecmp(optarg, "SGRBG10") == 0)