aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-21 13:36:18 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-21 13:36:18 +0200
commit18e694fbbb4022839b4cc74fbb2616eea3ab4988 (patch)
tree98515503c7020cdd687af73c4c4fa2f43182ff5e
parentfc26e327e7777a3c645e960a201c29f182e930b4 (diff)
v4l2-info.cpp: support the new hold capture flags
Add support for V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF and V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/common/v4l2-info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/common/v4l2-info.cpp b/utils/common/v4l2-info.cpp
index 2f4f2e3c..0aac8504 100644
--- a/utils/common/v4l2-info.cpp
+++ b/utils/common/v4l2-info.cpp
@@ -205,6 +205,7 @@ static const flag_def bufcap_def[] = {
{ V4L2_BUF_CAP_SUPPORTS_DMABUF, "dmabuf" },
{ V4L2_BUF_CAP_SUPPORTS_REQUESTS, "requests" },
{ V4L2_BUF_CAP_SUPPORTS_ORPHANED_BUFS, "orphaned-bufs" },
+ { V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF, "m2m-hold-capture-buf" },
{ 0, NULL }
};
@@ -677,6 +678,7 @@ static const flag_def buffer_flags_def[] = {
{ V4L2_BUF_FLAG_BFRAME, "B-frame" },
{ V4L2_BUF_FLAG_ERROR, "error" },
{ V4L2_BUF_FLAG_TIMECODE, "timecode" },
+ { V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF, "m2m-hold-capture-buf" },
{ V4L2_BUF_FLAG_PREPARED, "prepared" },
{ V4L2_BUF_FLAG_NO_CACHE_INVALIDATE, "no-cache-invalidate" },
{ V4L2_BUF_FLAG_NO_CACHE_CLEAN, "no-cache-clean" },

Privacy Policy