diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-12-11 19:47:57 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-12-11 19:47:57 +0100 |
commit | b31fcfad7359e20248d7a7f0d5d0e26f082f6f96 (patch) | |
tree | 2e96a2523cf67d97b03e663bdecd7ff7093f8950 /v4l2-apps/util/v4l2-ctl.cpp | |
parent | 424eceb609d6e6ca5a7ca44afa3fca629f5e1ff7 (diff) | |
download | mediapointer-dvb-s2-b31fcfad7359e20248d7a7f0d5d0e26f082f6f96.tar.gz mediapointer-dvb-s2-b31fcfad7359e20248d7a7f0d5d0e26f082f6f96.tar.bz2 |
Add missing PAL-60 standard to v4l2-ctl -s option
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/util/v4l2-ctl.cpp')
-rw-r--r-- | v4l2-apps/util/v4l2-ctl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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=<num>\n"); printf(" set the video standard to <num> [VIDIOC_S_STD]\n"); printf(" <num> 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': |