Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Merge main into #650; AVI frames pass an unspecified transfer to vui_color

Brandon Thomas47b0688483af
diff --git a/Cargo.lock b/Cargo.lock
index b9be8236a..e4f6200f2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1769,7 +1769,7 @@ dependencies = [
[[package]]
name = "filmcraft-avi"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"filmcraft-testkit",
]
diff --git a/crates/codecs/src/video.rs b/crates/codecs/src/video.rs
index 188c7e5e2..5f371f439 100644
--- a/crates/codecs/src/video.rs
+++ b/crates/codecs/src/video.rs
@@ -1174,7 +1174,7 @@ impl RawVideoDecoder {
width: self.width,
height: self.height,
data: filmcraft_frame::PixelData::Yuv8 { planes: [Arc::new(y), Arc::new(u), Arc::new(v)], chroma, alpha: None },
- color: vui_color(self.width, self.height, 2, 2, false),
+ color: vui_color(self.width, self.height, 2, 2, 2, false),
par: (1, 1),
pts: filmcraft_time::Tick::ZERO,
}