mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 10:37:26 +00:00
in progress v4l2 implementation, mostly stable core
This commit is contained in:
@@ -46,7 +46,7 @@ pub mod wmf {
|
||||
Arc,
|
||||
},
|
||||
};
|
||||
use nokhwa_core::properties::{CameraControl, ControlValueDescription, ControlValue, KnownCameraControl};
|
||||
use nokhwa_core::control::{CameraControl, ControlValueDescription, ControlValue, KnownCameraControl};
|
||||
use windows::Win32::Media::DirectShow::{CameraControl_Flags_Auto, CameraControl_Flags_Manual};
|
||||
use windows::Win32::Media::MediaFoundation::{
|
||||
IMFMediaType, MFCreateSample, MF_SOURCE_READER_FIRST_VIDEO_STREAM,
|
||||
@@ -1229,7 +1229,7 @@ pub mod wmf {
|
||||
CameraFormat, CameraIndex, CameraInformation,
|
||||
};
|
||||
use std::borrow::Cow;
|
||||
use nokhwa_core::properties::{CameraControl, ControlValue, KnownCameraControl};
|
||||
use nokhwa_core::control::{CameraControl, ControlValue, KnownCameraControl};
|
||||
|
||||
pub fn initialize_mf() -> Result<(), NokhwaError> {
|
||||
Err(NokhwaError::NotImplementedError(
|
||||
|
||||
Reference in New Issue
Block a user