Skip to content

Commit 1a6d6d9

Browse files
committed
perf(export): deepen NV12 render channel for encoder overlap
Made-with: Cursor
1 parent 68d6d44 commit 1a6d6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/export/src/mp4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ async fn export_render_to_channel(
585585
mut on_progress: impl FnMut(u32) -> bool + Send + 'static,
586586
project_path: PathBuf,
587587
) -> Result<(), cap_rendering::RenderingError> {
588-
let (tx_image_data, mut video_rx) = tokio::sync::mpsc::channel::<(Nv12RenderedFrame, u32)>(2);
588+
let (tx_image_data, mut video_rx) = tokio::sync::mpsc::channel::<(Nv12RenderedFrame, u32)>(8);
589589

590590
let screenshot_project_path = project_path;
591591

0 commit comments

Comments
 (0)