summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2020-01-18 16:31:23 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-20 12:21:58 +0200
commit632e0fc09f4e7f32307c101ef9ee970669e1ccf2 (patch)
tree8e056e8875952c98744d8a3b7fc80bf2508dc5c8 /utils
parent3628fb704b49101000ea901bfa5132a3e8a781cd (diff)
v4l2: Extend device caps with V4L2_CAP_STREAMING
This capability tells the application that mmap() is supported. GStreamer would return an error saying there there is no input/output method supported by this device otherwise. This was tested with: LD_PRELOAD=$(pwd)/build/src/v4l2/v4l2-compat.so GST_DEBUG="v4l2*:7" gst-launch-1.0 v4l2src ! videoconvert ! autovideosink With this patch, GStreamer will reach playing state. It then blocks waiting on poll() which is not implemented yet on our side. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions