Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: revert to RGBA GPU rendering to fix full-resolution playback regression

Richie McIlroyacd4c32ed670
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 71cee1d0f..d3f5d911c 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -60,7 +60,7 @@ impl Renderer {
let total_frames = (30_f64 * max_duration).ceil() as u32;
- let (tx, rx) = mpsc::channel(4);
+ let (tx, rx) = mpsc::channel(8);
let this = Self {
rx,
@@ -148,7 +148,7 @@ impl Renderer {
}
}
match frame_renderer
- .render_nv12(
+ .render(
current.segment_frames,
current.uniforms,
&current.cursor,
@@ -157,7 +157,7 @@ impl Renderer {
.await
{
Ok(frame) => {
- (self.frame_cb)(EditorFrameOutput::Nv12(frame));
+ (self.frame_cb)(EditorFrameOutput::Rgba(frame));
}
Err(e) => {
tracing::error!(error = %e, "Failed to render frame in editor");