fix: trim ffmpeg log line

This commit is contained in:
kieran 2024-11-18 10:38:05 +00:00
parent 015152c5cf
commit 53614e66ee
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -95,7 +95,7 @@ pub unsafe extern "C" fn av_log_redirect(
1024,
ptr::addr_of_mut!(prefix),
);
log!(target: "ffmpeg", log_level, "{}", rstr!(buf.as_ptr() as *const libc::c_char));
log!(target: "ffmpeg", log_level, "{}", rstr!(buf.as_ptr() as *const libc::c_char).trim());
}
pub(crate) const AVIO_BUFFER_SIZE: usize = 4096;