Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(recording): use BGRZ pixel format for X11 screen capture

Richie McIlroya9cafcfc5a2e
diff --git a/crates/recording/src/sources/screen_capture/linux.rs b/crates/recording/src/sources/screen_capture/linux.rs
index ed702daba..6bdd25725 100644
--- a/crates/recording/src/sources/screen_capture/linux.rs
+++ b/crates/recording/src/sources/screen_capture/linux.rs
@@ -35,7 +35,7 @@ impl ScreenCaptureFormat for X11Capture {
type VideoFormat = ffmpeg::frame::Video;
fn pixel_format() -> ffmpeg::format::Pixel {
- ffmpeg::format::Pixel::BGRA
+ ffmpeg::format::Pixel::BGRZ
}
fn audio_info() -> AudioInfo {