Skip to content

Commit 7ff2a96

Browse files
committed
don't abort encoding if capurer stop fails
1 parent 58c343d commit 7ff2a96

File tree

1 file changed

+3
-1
lines changed
  • crates/recording/src/output_pipeline

1 file changed

+3
-1
lines changed

crates/recording/src/output_pipeline/core.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,9 @@ fn spawn_video_encoder<TMutex: VideoMuxer<VideoFrame = TVideo::Frame>, TVideo: V
432432
})
433433
.await;
434434

435-
video_source.stop().await.context("video_source_stop")?;
435+
if let Err(e) = video_source.stop().await {
436+
error!("Video source stopped with error: {e:#}");
437+
};
436438

437439
muxer.lock().await.stop();
438440

0 commit comments

Comments
 (0)