nihed-cros-libva: convert surface query status to enum
[nihav-player.git] / nihed-cros-libva / src / picture.rs
index adf6a9457ebbd726cfbd0b91f1f05bc69d93a9ae..0d28b517edace6d979468f410464572a9e62f5b5 100644 (file)
@@ -219,7 +219,7 @@ impl Picture<PictureEnd> {
     ///
     /// 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()
     }
 }