aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-13 13:48:22 (GMT)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-13 13:48:22 (GMT)
commitd984abe1390826602846775b4d9b27c624b1829b (patch)
treeecabb8fd47e0c373db88b2956d64b1ea4ac151dc
parentf71fde5156ec8d08f863b3c3d21f9634d042966a (diff)
v4l2-ctl: show timestamp flags as well in print_concise_buffer
The concise buffer info didn't include the timestamp flags, which was confusing. So just show them. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-streaming.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index 860fb68..a653ed1 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -557,6 +557,8 @@ static void print_concise_buffer(FILE *f, cv4l_buffer &buf,
V4L2_BUF_FLAG_PFRAME |
V4L2_BUF_FLAG_BFRAME |
V4L2_BUF_FLAG_LAST |
+ V4L2_BUF_FLAG_TIMESTAMP_MASK |
+ V4L2_BUF_FLAG_TSTAMP_SRC_MASK |
V4L2_BUF_FLAG_TIMECODE);
if (fl)
fprintf(f, " (%s)", bufferflags2s(fl).c_str());

Privacy Policy