Format code

This commit is contained in:
bytedream 2024-03-10 13:40:16 +01:00
parent 3bf2458774
commit 013273b832
4 changed files with 12 additions and 14 deletions

View file

@ -593,7 +593,7 @@ fn get_video_streams(path: &Path) -> Result<Option<(Vec<Locale>, Vec<Locale>)>>
.stdout(Stdio::null())
.stderr(Stdio::piped())
.arg("-hide_banner")
.args(["-i", &path.to_string_lossy().to_string()])
.args(["-i", &path.to_string_lossy()])
.output()?;
let ffmpeg_output = String::from_utf8(ffmpeg.stderr)?;

View file

@ -180,7 +180,7 @@ impl Filter for ArchiveFilter {
Some(
season
.audio_locales
.get(0)
.first()
.cloned()
.unwrap_or(Locale::ja_JP),
)