Post-merge literals learn the transform field
Browse files at this commit8108e28da19625b46a3ed52f023c4a6108d0e319Parent: b89ef3a- fix
- post-merge literals learn the transform field
2 changed files +6 -0
crates/engine/examples/bench.rsmodified+2 -0
| @@ -872,6 +872,7 @@ fn export_bench(path: &Path, seat: &str, out_dir: &Path) { | |||
| 872 | color: None, | 872 | color: None, |
| 873 | fit: engine::scale::FitPolicy::default(), | 873 | fit: engine::scale::FitPolicy::default(), |
| 874 | speed: Speed::NORMAL, | 874 | speed: Speed::NORMAL, |
| 875 | + transform: None, | ||
| 875 | }; | 876 | }; |
| 876 | // The sound, where it was asked for, is the same clip on an audio lane: | 877 | // The sound, where it was asked for, is the same clip on an audio lane: |
| 877 | // the very window the picture covers, so the two passes measure one export. | 878 | // the very window the picture covers, so the two passes measure one export. |
| @@ -885,6 +886,7 @@ fn export_bench(path: &Path, seat: &str, out_dir: &Path) { | |||
| 885 | lanes, | 886 | lanes, |
| 886 | Vec::new(), | 887 | Vec::new(), |
| 887 | Vec::new(), | 888 | Vec::new(), |
| 889 | + Vec::new(), | ||
| 888 | ) { | 890 | ) { |
| 889 | Ok(project) => project, | 891 | Ok(project) => project, |
| 890 | Err(e) => { | 892 | Err(e) => { |
crates/engine/tests/audio_export.rsmodified+4 -0
| @@ -966,12 +966,14 @@ fn a_fade_in_reaches_the_exported_audio() { | |||
| 966 | color: None, | 966 | color: None, |
| 967 | fit: FitPolicy::default(), | 967 | fit: FitPolicy::default(), |
| 968 | speed: Speed::NORMAL, | 968 | speed: Speed::NORMAL, |
| 969 | + transform: None, | ||
| 969 | }; | 970 | }; |
| 970 | let project = Project::from_parts( | 971 | let project = Project::from_parts( |
| 971 | vec![Source::new(src.to_path_buf(), 0)], | 972 | vec![Source::new(src.to_path_buf(), 0)], |
| 972 | vec![(LaneKind::Audio, vec![clip])], | 973 | vec![(LaneKind::Audio, vec![clip])], |
| 973 | Vec::new(), | 974 | Vec::new(), |
| 974 | Vec::new(), | 975 | Vec::new(), |
| 976 | + Vec::new(), | ||
| 975 | ) | 977 | ) |
| 976 | .expect("a one-clip fade-in project"); | 978 | .expect("a one-clip fade-in project"); |
| 977 | let meta = engine::VideoMeta { | 979 | let meta = engine::VideoMeta { |
| @@ -1049,6 +1051,7 @@ fn a_split_and_crossfaded_clip_has_no_muted_interior() { | |||
| 1049 | color: None, | 1051 | color: None, |
| 1050 | fit: FitPolicy::default(), | 1052 | fit: FitPolicy::default(), |
| 1051 | speed: Speed::NORMAL, | 1053 | speed: Speed::NORMAL, |
| 1054 | + transform: None, | ||
| 1052 | }; | 1055 | }; |
| 1053 | // The clip split at 1.5 s (45 frames @ 30 fps) into two adjacent halves, | 1056 | // The clip split at 1.5 s (45 frames @ 30 fps) into two adjacent halves, |
| 1054 | // exactly what `Project::split` leaves behind. | 1057 | // exactly what `Project::split` leaves behind. |
| @@ -1060,6 +1063,7 @@ fn a_split_and_crossfaded_clip_has_no_muted_interior() { | |||
| 1060 | )], | 1063 | )], |
| 1061 | Vec::new(), | 1064 | Vec::new(), |
| 1062 | Vec::new(), | 1065 | Vec::new(), |
| 1066 | + Vec::new(), | ||
| 1063 | ) | 1067 | ) |
| 1064 | .expect("a split clip on one audio lane"); | 1068 | .expect("a split clip on one audio lane"); |
| 1065 | assert!( | 1069 | assert!( |