mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 00:45:07 +03:00
Remove the need for the caller to open and close the media device when populating the MediaDevice. This is done as an effort to make the usage of the MediaDevice less error prone and the interface stricter. The rework also revealed and fixes a potential memory leak in MediaDevice::populate() where resources would not be deleted if the second MEDIA_IOC_G_TOPOLOGY would fail. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
||
---|---|---|
.. | ||
camera | ||
libtest | ||
media_device | ||
pipeline | ||
v4l2_device | ||
v4l2_subdevice | ||
event-dispatcher.cpp | ||
event.cpp | ||
geometry.cpp | ||
list-cameras.cpp | ||
meson.build | ||
signal.cpp | ||
timer.cpp |