///
/// This call can be used to implement a non-blocking path, wherein a decoder queries the status
/// of the surface after each decode operation instead of blocking on it.
- pub fn query_status(&self) -> VAResult<bindings::VASurfaceStatus::Type> {
+ pub fn query_status(&self) -> VAResult<VASurfaceStatus> {
self.inner.surface.borrow_mut().query_status()
}
}