mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
libva-driver-intel: Add patch by btbn to track and workaround empty surfaces
This commit is contained in:
parent
50f1c9e6e7
commit
d09136abe9
@ -0,0 +1,16 @@
|
||||
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
|
||||
index 31dafa2..a58eb7b 100755
|
||||
--- a/src/i965_drv_video.c
|
||||
+++ b/src/i965_drv_video.c
|
||||
@@ -2358,7 +2358,11 @@ i965_QuerySurfaceStatus(VADriverContextP ctx,
|
||||
*status = VASurfaceReady;
|
||||
}
|
||||
} else {
|
||||
+#ifdef HAVE_VA_SURFACE_STATUS_EMPTY
|
||||
+ *status = VASurfaceReady | VASurfaceEmpty;
|
||||
+#else
|
||||
*status = VASurfaceReady;
|
||||
+#endif
|
||||
}
|
||||
|
||||
return VA_STATUS_SUCCESS;
|
Loading…
x
Reference in New Issue
Block a user