print ffmpeg output properly

This commit is contained in:
chaos 2023-10-18 14:54:50 +01:00
parent 3eaa4b0f33
commit 13bca72e47
No known key found for this signature in database

View file

@ -77,7 +77,7 @@ pub fn transcode(
}
if !output.status.success() {
print!("{:?}", String::from_utf8(output.stderr).unwrap());
print!("{}", String::from_utf8(output.stderr).unwrap());
return Err(static_err("FFmpeg Crashed"));
}