This commit is contained in:
psykose 2024-11-11 12:01:22 +01:00
parent fd44d3280a
commit 2f0b4025c5

View file

@ -189,7 +189,6 @@ impl Handle {
ffi::mpv_event_id_MPV_EVENT_LOG_MESSAGE => { ffi::mpv_event_id_MPV_EVENT_LOG_MESSAGE => {
let data = unsafe { &*(event.data as *mut ffi::mpv_event_log_message) }; let data = unsafe { &*(event.data as *mut ffi::mpv_event_log_message) };
// TODO: actual logging?
Some(MpvEvent::LogMessage(LogMessageEvent { Some(MpvEvent::LogMessage(LogMessageEvent {
prefix: unsafe { CStr::from_ptr(data.prefix) } prefix: unsafe { CStr::from_ptr(data.prefix) }
.to_string_lossy() .to_string_lossy()