Skip to content

Commit

Permalink
format selection bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltg committed Oct 13, 2024
1 parent 334fc30 commit a1b4448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ impl EncState {
DrmFourcc::Xrgb2101010,
] {
let is_fmt_supported = capture_formats.iter().any(|p| {
p.fourcc == DrmFourcc::Xrgb8888
p.fourcc == preferred_format
&& p.modifiers.iter().any(|m| *m == DrmModifier::LINEAR)
});

Expand Down

0 comments on commit a1b4448

Please sign in to comment.