summaryrefslogtreecommitdiff
path: root/test/v4l2_subdevice/v4l2_subdevice_test.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-02 01:49:56 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-03 13:57:55 +0200
commita023aed1aa5ae3554d193ebd0a2102ec676ddd14 (patch)
treed33e09bdc71291d60108f77f625f63d4c68ae548 /test/v4l2_subdevice/v4l2_subdevice_test.cpp
parent89dc54af09d4885a4134b332ddd9f82eef3789ad (diff)
libcamera: pipeline: uvcvideo: Fix crash when default entity is not found
Commit e441f2c7f46d ("libcamera: pipeline: uvcvideo: Add controls support") broke handling of UVC devices without a default entity by turning the error check into an always false check. Fix it. Fixes: e441f2c7f46d ("libcamera: pipeline: uvcvideo: Add controls support") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_subdevice/v4l2_subdevice_test.cpp')
0 files changed, 0 insertions, 0 deletions