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 cd65425..ebb94b8 100644
--- a/yavta.c
+++ b/yavta.c
@@ -953,6 +953,8 @@ int main(int argc, char *argv[])
pixelformat = V4L2_PIX_FMT_YUYV;
else if (strcasecmp(optarg, "UYVY") == 0)
pixelformat = V4L2_PIX_FMT_UYVY;
+ else if (strcasecmp(optarg, "Y16") == 0)
+ pixelformat = V4L2_PIX_FMT_Y16;
else if (strcasecmp(optarg, "SGRBG10") == 0)
pixelformat = V4L2_PIX_FMT_SGRBG10;
else if (strcasecmp(optarg, "DV") == 0)