Skip to content

Commit e771bba

Browse files
committed
build: add macOS VideoToolbox camera writer dependencies
1 parent 07b7f14 commit e771bba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/capture/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ parking_lot = "0.12"
2727
windows = { version = "0.62", features = ["Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Dxgi", "Win32_Graphics_Gdi", "Win32_System_Com", "Win32_System_Performance", "Win32_UI_HiDpi", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging"] }
2828

2929
[target.'cfg(target_os = "macos")'.dependencies]
30+
apple-cf = { version = "0.9.3", default-features = false, features = ["cm", "cv", "iosurface"] }
31+
avassetwriter = "0.11.1"
3032
cpal = "0.18.1"
3133
nokhwa = { version = "0.10.11", default-features = false, features = ["input-native"] }
3234
objc2 = "0.6.4"
3335
objc2-app-kit = { version = "0.3.2", features = ["NSCursor"] }
3436
screencapturekit = { version = "8.0.1", features = ["macos_15_0"] }
3537
core-graphics = "0.25"
38+
videotoolbox = "0.18.1"
3639

3740
[dev-dependencies]
3841
tempfile = "3"

0 commit comments

Comments
 (0)