Skip to content

Commit e0c562d

Browse files
committed
reduce export buffer sice
1 parent e249093 commit e0c562d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/export/src/mp4.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ impl Mp4ExportSettings {
4949
info!("Exporting mp4 with settings: {:?}", &self);
5050
info!("Expected to render {} frames", base.total_frames(self.fps));
5151

52-
let (tx_image_data, mut video_rx) = tokio::sync::mpsc::channel::<(RenderedFrame, u32)>(32);
53-
let (frame_tx, frame_rx) = std::sync::mpsc::sync_channel::<MP4Input>(32);
52+
let (tx_image_data, mut video_rx) = tokio::sync::mpsc::channel::<(RenderedFrame, u32)>(8);
53+
let (frame_tx, frame_rx) = std::sync::mpsc::sync_channel::<MP4Input>(8);
5454

5555
let fps = self.fps;
5656

0 commit comments

Comments
 (0)