diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-11-29 20:14:14 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-12-04 23:05:04 +0200 |
commit | 415ac123997f86ebf6d7994020fd017a6bfa5f27 (patch) | |
tree | d9cdbc7049bab7b7e4e9f2e93ad420c7c3e0d634 /src/gstreamer/gstlibcameraallocator.cpp | |
parent | a62a886a7d7f41bfb688c6d7f8602bddcda139bb (diff) |
libcamera: v4l2_videodevice: Pass FileDescriptor to open()
The V4L2VideoDevice::open() function that takes an open file handle
duplicates it internally, and leaves the original handle untouched. This
is documented but not enforced through language constructs. Fix it by
passing a FileDescriptor to the function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcameraallocator.cpp')
0 files changed, 0 insertions, 0 deletions