aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-01-26 11:16:09 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-01-26 11:16:09 +0100
commit5af0730d06247a2de487abf2e00e70b156f1fb82 (patch)
treec6fce650611825c0541f580d589d40856e4a2e6e /utils/v4l2-ctl/v4l2-ctl-streaming.cpp
parente7402fb758fd106955c3b7d5a5e961d1cb606f4a (diff)
v4l-utils: remove trailing spaces
Several sources contain trailing spaces, remove those. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/v4l2-ctl/v4l2-ctl-streaming.cpp')
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-streaming.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index fb65fed3..00affd1a 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -537,7 +537,7 @@ static void print_buffer(FILE *f, struct v4l2_buffer &buf)
fprintf(f, "\t\tData Offset: %u\n", p->data_offset);
}
}
-
+
fprintf(f, "\n");
}
@@ -1407,7 +1407,7 @@ static int do_handle_cap(cv4l_fd &fd, cv4l_queue &q, FILE *fout, int *index,
if (fd.qbuf(buf))
return QUEUE_ERROR;
}
-
+
bool is_empty_frame = !buf.g_bytesused(0);
bool is_error_frame = buf.g_flags() & V4L2_BUF_FLAG_ERROR;
@@ -1766,7 +1766,7 @@ static void streaming_set_cap(cv4l_fd &fd, cv4l_fd &exp_fd)
}
break;
}
-
+
subscribe_event(fd, V4L2_EVENT_EOS);
if (use_poll)
subscribe_event(fd, V4L2_EVENT_SOURCE_CHANGE);
@@ -2084,7 +2084,7 @@ static void streaming_set_out(cv4l_fd &fd, cv4l_fd &exp_fd)
if (q.reqbufs(&fd, reqbufs_count_out))
goto done;
}
-
+
if (options[OptStreamOutDmaBuf]) {
if (exp_q.reqbufs(&exp_fd, reqbufs_count_out))
goto done;

Privacy Policy