summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/clock.svg
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-06-16 12:28:34 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2020-06-25 23:47:13 +0900
commitf155e638168cb0d6cbd9dde8748301fa12a0736f (patch)
tree7ec937104ec1a6dcfc99548f58b153b774cc7181 /src/qcam/assets/feathericons/clock.svg
parent6a5d416b3793401d8bad6e3d398847eeb1158ba0 (diff)
v4l2: v4l2_camera_proxy: Clear internal buffer vector on reqbufs 0
If VIDIOC_REQBUFS with count = 0 is called when the stream is not on, clear the proxy's internal vector of buffer. If the stream is on when reqbufs 0 is called, return -EBUSY. Note that this is contrary to what the V4L2 docs say (reqbufs 0 when streaming should also streamoff), but it is how the V4L2 implementation works. v4l2-compliance doesn't seem to care either way, however, so we cater to the implementation, and no longer call streamoff on reqbufs 0. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/clock.svg')
0 files changed, 0 insertions, 0 deletions