mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-13 13:38:54 +00:00
Fix camera index
This commit is contained in:
@@ -23,8 +23,8 @@ use glium::{
|
||||
};
|
||||
use glutin::{event_loop::EventLoop, window::WindowBuilder, ContextBuilder};
|
||||
use nokhwa::{
|
||||
nokhwa_initialize, query_devices, Camera, CameraFormat, CaptureAPIBackend, FrameFormat,
|
||||
Resolution,
|
||||
nokhwa_initialize, query_devices, Camera, CameraFormat, CameraIndex, CaptureAPIBackend,
|
||||
FrameFormat, Resolution,
|
||||
};
|
||||
use std::time::Instant;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user