mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
barebones
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#[cfg(windows)]
|
||||
::windows::include_bindings!();
|
||||
windows::include_bindings!();
|
||||
|
||||
@@ -8,10 +8,9 @@ mod uvc_backend;
|
||||
pub use uvc_backend::UVCCaptureDevice;
|
||||
#[cfg(feature = "input-msmf")]
|
||||
mod msmf;
|
||||
#[cfg(feature = "input-opencv")]
|
||||
mod opencv_backend;
|
||||
#[cfg(feature = "input-msmf")]
|
||||
pub use msmf::MediaFoundationCaptureDevice;
|
||||
|
||||
#[cfg(feature = "input-opencv")]
|
||||
mod opencv_backend;
|
||||
#[cfg(feature = "input-opencv")]
|
||||
pub use opencv_backend::OpenCvCaptureDevice;
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
|
||||
use nokhwa_bindings_windows::Windows::*;
|
||||
pub struct MediaFoundationCaptureDevice {}
|
||||
|
||||
Reference in New Issue
Block a user