summaryrefslogtreecommitdiff
path: root/v4l2-apps/util/v4l2-ctl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-apps/util/v4l2-ctl.cpp')
-rw-r--r--v4l2-apps/util/v4l2-ctl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/util/v4l2-ctl.cpp b/v4l2-apps/util/v4l2-ctl.cpp
index 9c1035833..effe7775a 100644
--- a/v4l2-apps/util/v4l2-ctl.cpp
+++ b/v4l2-apps/util/v4l2-ctl.cpp
@@ -2159,7 +2159,7 @@ int main(int argc, char **argv)
if (options[OptGetSlicedVbiCap]) {
struct v4l2_sliced_vbi_cap cap;
- cap.type = V4L2_BUF_TYPE_VBI_CAPTURE;
+ cap.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE;
if (doioctl(fd, VIDIOC_G_SLICED_VBI_CAP, &cap, "VIDIOC_G_SLICED_VBI_CAP") == 0) {
print_sliced_vbi_cap(cap);
}
@@ -2168,7 +2168,7 @@ int main(int argc, char **argv)
if (options[OptGetSlicedVbiOutCap]) {
struct v4l2_sliced_vbi_cap cap;
- cap.type = V4L2_BUF_TYPE_VBI_OUTPUT;
+ cap.type = V4L2_BUF_TYPE_SLICED_VBI_OUTPUT;
if (doioctl(fd, VIDIOC_G_SLICED_VBI_CAP, &cap, "VIDIOC_G_SLICED_VBI_CAP") == 0) {
print_sliced_vbi_cap(cap);
}