Implement timeout to automatically advance slide.
This commit is contained in:
@@ -48,7 +48,7 @@ where
|
||||
let (w, h) = match (width_hint, height_hint) {
|
||||
(Some(w), Some(h)) => {
|
||||
let got = decoder.scale(w as u16, h as u16)?;
|
||||
info!("Hinted at {}x{}, got {}x{}", w, h, got.0, got.1);
|
||||
//info!("Hinted at {}x{}, got {}x{}", w, h, got.0, got.1);
|
||||
(got.0 as u32, got.1 as u32)
|
||||
}
|
||||
// TODO(wathiede): handle partial hints by grabbing info and then computing the absent
|
||||
|
||||
Reference in New Issue
Block a user