projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c3442
)
v4l2-ctl: don't produce verbose output for QBUF while streaming.
author
Hans Verkuil
<hans.verkuil@cisco.com>
Tue, 19 Mar 2013 11:50:06 +0000
(12:50 +0100)
committer
Hans Verkuil
<hans.verkuil@cisco.com>
Tue, 19 Mar 2013 11:50:06 +0000
(12:50 +0100)
You are not interested in the verbose logging of QBUF while streaming.
It's not done for DQBUF, so silence QBUF as well.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl-streaming.cpp
patch
|
blob
|
history
diff --git
a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index
b4ca206
..
43013ed
100644
(file)
--- a/
utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/
utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@
-702,7
+702,7
@@
void streaming_set(int fd)
ch = 'B';
if (verbose)
print_buffer(stderr, buf);
- if (
do
ioctl(fd, VIDIOC_QBUF, &buf))
+ if (
test_
ioctl(fd, VIDIOC_QBUF, &buf))
return;
if (!verbose) {
@@
-918,7
+918,7
@@
void streaming_set(int fd)
if (fin && !fill_buffer_from_file(buffers, buffer_lengths,
buf.index, num_planes, fin))
break;
- if (
do
ioctl(fd, VIDIOC_QBUF, &buf))
+ if (
test_
ioctl(fd, VIDIOC_QBUF, &buf))
return;
fprintf(stderr, ".");