From 2f3565efb5377768e3c2e1ef85eec99668f485de Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Mon, 7 Aug 2023 10:13:16 +0200 Subject: libcamera: Define and use MediaDeviceMatch The xistingdevice search and match criteria implemented by libcamera only supports 'media device' based cameras, which are supported in the Linux kernel by the usage of the V4L2/MC API. Define a MediaDeviceMatch class derived from DeviceMatch and use it wherever DeviceMatch was used in order to later introduce new derived classes to support searching and matching devices of a different type. Signed-off-by: Jacopo Mondi --- test/delayed_controls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/delayed_controls.cpp') diff --git a/test/delayed_controls.cpp b/test/delayed_controls.cpp index a8ce9828..9063ef3e 100644 --- a/test/delayed_controls.cpp +++ b/test/delayed_controls.cpp @@ -38,7 +38,7 @@ protected: return TestFail; } - DeviceMatch dm("vivid"); + MediaDeviceMatch dm("vivid"); dm.add("vivid-000-vid-cap"); media_ = enumerator_->search(dm); -- cgit v1.2.1