fix: trim ffmpeg log line
This commit is contained in:
parent
015152c5cf
commit
53614e66ee
@ -95,7 +95,7 @@ pub unsafe extern "C" fn av_log_redirect(
|
|||||||
1024,
|
1024,
|
||||||
ptr::addr_of_mut!(prefix),
|
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;
|
pub(crate) const AVIO_BUFFER_SIZE: usize = 4096;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user