From a98df12f1cdc84ec8d4ba169c9e1d86bcba2c880 Mon Sep 17 00:00:00 2001 From: Michael Renzmann Date: Fri, 19 May 2023 21:52:31 +0200 Subject: [PATCH] Fix error reported by @tiagocoutinho at tiagocoutinho/v4l2py#42. --- examples/web/async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web/async.py b/examples/web/async.py index af5ee50..e0cd1fe 100644 --- a/examples/web/async.py +++ b/examples/web/async.py @@ -89,7 +89,7 @@ def cameras() -> list[Camera]: global CAMERAS if CAMERAS is None: cameras = {} - for device in iter_video_capture_devices(): + for device in iter_video_capture_devices(legacy_controls=True): cameras[device.index] = Camera(device) CAMERAS = cameras return CAMERAS