video: Report what frame gave an error
This commit is contained in:
parent
5b546bf2d8
commit
c6a9e27916
|
@ -157,7 +157,7 @@ impl<'gc> Video<'gc> {
|
||||||
|
|
||||||
self.0.write(context.gc_context).decoded_frame = Some(CollectWrapper(bitmap))
|
self.0.write(context.gc_context).decoded_frame = Some(CollectWrapper(bitmap))
|
||||||
}
|
}
|
||||||
Err(e) => log::error!("Got error when seeking video: {}", e),
|
Err(e) => log::error!("Got error when seeking to video frame {}: {}", frame_id, e),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue