Skip to content

Commit db4950c

Browse files
committed
example rough mediafoundation encoder
1 parent 07a41a0 commit db4950c

File tree

5 files changed

+1169
-333
lines changed

5 files changed

+1169
-333
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/scap-direct3d/Cargo.toml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,35 @@ license = "MIT"
66

77
[target.'cfg(windows)'.dependencies]
88
windows = { workspace = true, features = [
9-
"System",
10-
"Graphics_Capture",
11-
"Graphics_DirectX_Direct3D11",
12-
"Foundation_Metadata",
13-
"Win32_Graphics_Gdi",
14-
"Win32_Graphics_Direct3D",
15-
"Win32_Graphics_Direct3D11",
16-
"Win32_Graphics_Dxgi_Common",
17-
"Win32_Graphics_Dxgi",
18-
"Win32_System_Com",
19-
"Win32_System_Com_StructuredStorage",
20-
"Win32_System_Ole",
21-
"Win32_System_Threading",
22-
"Win32_System_WinRT_Direct3D11",
23-
"Win32_System_WinRT_Graphics_Capture",
24-
"Win32_UI_WindowsAndMessaging",
25-
"Win32_Media_MediaFoundation",
26-
"Win32_Media_DxMediaObjects",
27-
"Win32_Foundation",
28-
"Foundation_Collections",
29-
"Win32_System_Variant",
9+
"System",
10+
"Graphics_Capture",
11+
"Graphics_DirectX_Direct3D11",
12+
"Foundation_Metadata",
13+
"Win32_Graphics_Gdi",
14+
"Win32_Graphics_Direct3D",
15+
"Win32_Graphics_Direct3D11",
16+
"Win32_Graphics_Dxgi_Common",
17+
"Win32_Graphics_Dxgi",
18+
"Win32_System_Com",
19+
"Win32_System_Com_StructuredStorage",
20+
"Win32_System_Ole",
21+
"Win32_System_Threading",
22+
"Win32_System_WinRT_Direct3D11",
23+
"Win32_System_WinRT_Graphics_Capture",
24+
"Win32_UI_WindowsAndMessaging",
25+
"Win32_Media_MediaFoundation",
26+
"Win32_Media_DxMediaObjects",
27+
"Win32_Foundation",
28+
"Foundation_Collections",
29+
"Win32_System_Variant",
30+
"Storage_Search",
31+
"Storage_Streams",
3032
] }
3133

3234
[dev-dependencies]
3335
cap-displays = { path = "../displays" }
3436
scap-ffmpeg = { path = "../scap-ffmpeg" }
37+
windows-numerics = "0.2.0"
3538

3639
[lints]
3740
workspace = true

0 commit comments

Comments
 (0)