feat: 添加视频采集卡查看器 (Nokhwa + egui, 独立线程捕获)
This commit is contained in:
19
capture-card-viewer/Cargo.toml
Normal file
19
capture-card-viewer/Cargo.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[package]
|
||||
name = "capture-card-viewer"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
nokhwa = { version = "0.10", features = ["input-msmf"] }
|
||||
eframe = { version = "0.24", default-features = false, features = ["default_fonts", "glow"] }
|
||||
egui = "0.24"
|
||||
winapi = { version = "0.3", features = ["winuser", "windef", "processthreadsapi", "handleapi", "winbase"] }
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
strip = true
|
||||
|
||||
[[bin]]
|
||||
name = "capture-card-viewer"
|
||||
path = "src/main.rs"
|
||||
Reference in New Issue
Block a user