Improve debugging
This commit is contained in:
parent
e2bb8cf5e1
commit
8867b6ff4c
2 changed files with 34 additions and 34 deletions
|
|
@ -292,10 +292,15 @@ impl Application for App {
|
|||
video_frame_opt.take()
|
||||
} {
|
||||
Some(video_frame) => {
|
||||
let pts = video_frame.0.pts();
|
||||
self.handle_opt = Some(video_frame.into_handle());
|
||||
|
||||
let duration = start.elapsed();
|
||||
log::debug!("converted video frame to handle in {:?}", duration);
|
||||
log::debug!(
|
||||
"converted video frame at {:?} to handle in {:?}",
|
||||
pts,
|
||||
duration
|
||||
);
|
||||
}
|
||||
None => {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue