summaryrefslogtreecommitdiff
path: root/src/vdpau_driver_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdpau_driver_template.h')
-rw-r--r--src/vdpau_driver_template.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vdpau_driver_template.h b/src/vdpau_driver_template.h
index 63f7217..a08bfed 100644
--- a/src/vdpau_driver_template.h
+++ b/src/vdpau_driver_template.h
@@ -206,6 +206,15 @@ struct VA_DRIVER_VTABLE {
VASurfaceStatus *status /* out */
);
+#if VA_INIT_CHECK_VERSION(0,31,2)
+ VAStatus (*vaQuerySurfaceError) (
+ VADriverContextP ctx,
+ VASurfaceID render_target,
+ VAStatus error_status,
+ void **error_info /*out*/
+ );
+#endif
+
VAStatus (*vaPutSurface) (
VA_DRIVER_CONTEXT_P ctx,
VASurfaceID surface,