You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main panics when I run program with WithoutBorder setting. If I set Default, it works but it has borders, which I dont want to have.
Got The Flag: Yea This Works
thread 'main' panicked at src\commands\record_video.rs:102:26:
Screen Capture Failed: GraphicsCaptureApiError(BorderConfigUnsupported)
Expected behavior 📝
To record a video of a screen that lasts 6 seconds
OS 🤖
Windows
Version 10.0.19045
Build 19045
Additional context ➕
let settings = Settings::new(// Item To Captue
primary_monitor,// Capture Cursor SettingsCursorCaptureSettings::WithCursor,// Draw Borders SettingsDrawBorderSettings::WithoutBorder,// The desired color format for the captured frame.ColorFormat::Rgba8,// Additional flags for the capture settings that will be passed to user defined `new` function."Yea This Works".to_string(),).unwrap();
The text was updated successfully, but these errors were encountered:
The API used is quite new and the DrawBorderSettings::WithoutBorder option is not supported in your Windows version you should use DrawBorderSettings::Default;
Describe the bug 🐛
main panics when I run program with WithoutBorder setting. If I set Default, it works but it has borders, which I dont want to have.
Got The Flag: Yea This Works
thread 'main' panicked at src\commands\record_video.rs:102:26:
Screen Capture Failed: GraphicsCaptureApiError(BorderConfigUnsupported)
Expected behavior 📝
To record a video of a screen that lasts 6 seconds
OS 🤖
Windows
Version 10.0.19045
Build 19045
Additional context ➕
The text was updated successfully, but these errors were encountered: