Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(enc-ffmpeg): emit init segment notifications when finishing encoders
Richie McIlroycb230a3d2663
diff --git a/crates/enc-ffmpeg/src/mux/dash_audio.rs b/crates/enc-ffmpeg/src/mux/dash_audio.rsindex 2ed09e494..5e5b0f4cb 100644--- a/crates/enc-ffmpeg/src/mux/dash_audio.rs+++ b/crates/enc-ffmpeg/src/mux/dash_audio.rs@@ -484,6 +484,7 @@ impl DashAudioSegmentEncoder {tracing::warn!("Audio write_trailer warning: {e}");}+ self.try_notify_init_segment();self.finalize_pending_tmp_files();self.flush_pending_segments();@@ -508,6 +509,7 @@ impl DashAudioSegmentEncoder {tracing::warn!("Audio write_trailer warning: {e}");}+ self.try_notify_init_segment();self.finalize_pending_tmp_files();self.flush_pending_segments();@@ -601,7 +603,7 @@ impl DashAudioSegmentEncoder {if file_size < 100 {tracing::debug!(- "Skipping tiny orphaned audio segment {} ({} bytes)",+ "Skipping tiny unlisted audio segment {} ({} bytes)",segment_path.display(),file_size);@@ -621,7 +623,7 @@ impl DashAudioSegmentEncoder {};tracing::info!(- "Recovered orphaned audio segment {} with {} bytes, estimated duration {:?}",+ "Finalized unlisted audio segment {} with {} bytes, estimated duration {:?}",segment_path.display(),file_size,duration