From 66bd3d6a416dfe9108db50df66b4c2a08fffdf95 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Thu, 7 Aug 2025 15:11:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20ffmpeg=20=E6=89=A7=E8=A1=8C=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=97=B6=E6=B7=BB=E5=8A=A0=E4=B8=80=E6=9D=A1=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/bili_sync/src/downloader.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/bili_sync/src/downloader.rs b/crates/bili_sync/src/downloader.rs index e17b7ee..54d0f7f 100644 --- a/crates/bili_sync/src/downloader.rs +++ b/crates/bili_sync/src/downloader.rs @@ -167,7 +167,8 @@ impl Downloader { output_path.to_string_lossy().as_ref(), ]) .output() - .await?; + .await + .context("failed to run ffmpeg")?; if !output.status.success() { bail!("ffmpeg error: {}", str::from_utf8(&output.stderr).unwrap_or("unknown")); }