mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
fix compile error when not have feature
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
||||
#[cfg(feature = "input_uvc")]
|
||||
use crate::backends::capture::UVCCaptureDevice;
|
||||
#[cfg(feature = "input_v4l")]
|
||||
use crate::backends::capture::V4LCaptureDevice;
|
||||
use crate::{
|
||||
backends::capture::{UVCCaptureDevice, V4LCaptureDevice},
|
||||
CameraFormat, CameraInfo, CaptureAPIBackend, CaptureBackendTrait, FrameFormat, NokhwaError,
|
||||
Resolution,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user