Skip to content

Commit

Permalink
use correct format for screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 16, 2024
1 parent 1728b11 commit 3fe2de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ async fn create_screenshot(
decoder.format(),
decoder.width(),
decoder.height(),
ffmpeg::format::Pixel::YUV420P,
ffmpeg::format::Pixel::RGB24,
size.map_or(decoder.width(), |s| s.0),
size.map_or(decoder.height(), |s| s.1),
ffmpeg::software::scaling::flag::Flags::BILINEAR,
Expand Down

1 comment on commit 3fe2de0

@vercel
Copy link

@vercel vercel bot commented on 3fe2de0 Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.