2K QHD joins the resolution ladder
Browse files at this commit0a39fae0edbbaa488dc02fbd8cda00f4b5221cf0Parent: bf65371- feat
- 2K QHD joins the resolution ladder
1 changed file +9 -2
- crates/app/src/main.rs +9 -2
crates/app/src/main.rsmodified+9 -2
| @@ -625,7 +625,13 @@ fn typed(key: &str) -> Option<char> { | |||
| 625 | /// The project resolutions [`Player::cycle_resolution`] offers, largest first. | 625 | /// The project resolutions [`Player::cycle_resolution`] offers, largest first. |
| 626 | /// A short list of the sizes people name; the media's own is cycled in beside | 626 | /// A short list of the sizes people name; the media's own is cycled in beside |
| 627 | /// them, which is what makes the trip round come back to where it started. | 627 | /// them, which is what makes the trip round come back to where it started. |
| 628 | -const RESOLUTIONS: [(u32, u32); 4] = [(3840, 2160), (1920, 1080), (1280, 720), (854, 480)]; | 628 | +const RESOLUTIONS: [(u32, u32); 5] = [ |
| 629 | + (3840, 2160), | ||
| 630 | + (2560, 1440), | ||
| 631 | + (1920, 1080), | ||
| 632 | + (1280, 720), | ||
| 633 | + (854, 480), | ||
| 634 | +]; | ||
| 629 | 635 | ||
| 630 | /// The project frame rates the list offers, slowest first: the rates footage is | 636 | /// The project frame rates the list offers, slowest first: the rates footage is |
| 631 | /// actually shot and delivered at, the NTSC ones written as the ratios they are | 637 | /// actually shot and delivered at, the NTSC ones written as the ratios they are |
| @@ -14854,6 +14860,7 @@ mod tests { | |||
| 14854 | ladder, | 14860 | ladder, |
| 14855 | [ | 14861 | [ |
| 14856 | (3840, 2160), | 14862 | (3840, 2160), |
| 14863 | + (2560, 1440), | ||
| 14857 | (1920, 1080), | 14864 | (1920, 1080), |
| 14858 | (1440, 1080), | 14865 | (1440, 1080), |
| 14859 | (1280, 720), | 14866 | (1280, 720), |
| @@ -14879,7 +14886,7 @@ mod tests { | |||
| 14879 | } | 14886 | } |
| 14880 | // The media's own size says so: it is the one rung a person cannot read | 14887 | // The media's own size says so: it is the one rung a person cannot read |
| 14881 | // off a number they chose. | 14888 | // off a number they chose. |
| 14882 | - let (.., native_detail, _) = &rows[2]; | 14889 | + let (.., native_detail, _) = &rows[3]; |
| 14883 | assert!( | 14890 | assert!( |
| 14884 | native_detail.contains("the media's own"), | 14891 | native_detail.contains("the media's own"), |
| 14885 | "{native_detail}" | 14892 | "{native_detail}" |