From b31fcfad7359e20248d7a7f0d5d0e26f082f6f96 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 11 Dec 2006 19:47:57 +0100 Subject: Add missing PAL-60 standard to v4l2-ctl -s option From: Hans Verkuil Signed-off-by: Hans Verkuil --- v4l2-apps/util/v4l2-ctl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'v4l2-apps') diff --git a/v4l2-apps/util/v4l2-ctl.cpp b/v4l2-apps/util/v4l2-ctl.cpp index 7dabb3969..a0b14d9fb 100644 --- a/v4l2-apps/util/v4l2-ctl.cpp +++ b/v4l2-apps/util/v4l2-ctl.cpp @@ -242,7 +242,7 @@ static void usage(void) printf(" -s, --set-standard=\n"); printf(" set the video standard to [VIDIOC_S_STD]\n"); printf(" can be a numerical v4l2_std value, or it can be one of:\n"); - printf(" pal-X (X = B/G/H/N/Nc/I/D/K/M) or just 'pal' (V4L2_STD_PAL)\n"); + printf(" pal-X (X = B/G/H/N/Nc/I/D/K/M/60) or just 'pal' (V4L2_STD_PAL)\n"); printf(" ntsc-X (X = M/J/K) or just 'ntsc' (V4L2_STD_NTSC)\n"); printf(" secam-X (X = B/G/H/D/K/L/Lc) or just 'secam' (V4L2_STD_SECAM)\n"); printf(" --list-standards display supported video standards [VIDIOC_ENUMSTD]\n"); @@ -778,6 +778,8 @@ static v4l2_std_id parse_pal(const char *pal) { if (pal[0] == '-') { switch (pal[1]) { + case '6': + return V4L2_STD_PAL_60; case 'b': case 'B': case 'g': -- cgit v1.2.3