summaryrefslogtreecommitdiff
path: root/dispatch
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-07 10:20:28 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-07 10:20:28 +0000
commitd1a7953afcd1298c6db8b61b0268a9bd96ae0e63 (patch)
tree7288c4b9001333bf0c40856b1c5acc9f78f891d9 /dispatch
parentf78f668acb9dbeb89c55043274648104ee37fdf3 (diff)
dxva: Fix build for older dxsdk
Diffstat (limited to 'dispatch')
-rw-r--r--dispatch/dxvaint.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/dispatch/dxvaint.h b/dispatch/dxvaint.h
index f275d559..ad113043 100644
--- a/dispatch/dxvaint.h
+++ b/dispatch/dxvaint.h
@@ -27,6 +27,23 @@
#include <dxva2api.h>
+#ifndef DXVA2_E_NOT_INITIALIZED
+#define DXVA2_E_NOT_INITIALIZED ((HRESULT)0x80041000L)
+#endif
+
+#ifndef DXVA2_E_NEW_VIDEO_DEVICE
+#define DXVA2_E_NEW_VIDEO_DEVICE ((HRESULT)0x80041001L)
+#endif
+
+#ifndef DXVA2_E_VIDEO_DEVICE_LOCKED
+#define DXVA2_E_VIDEO_DEVICE_LOCKED ((HRESULT)0x80041002L)
+#endif
+
+#ifndef DXVA2_E_NOT_AVAILABLE
+#define DXVA2_E_NOT_AVAILABLE ((HRESULT)0x80041003L)
+#endif
+
+
typedef struct _DXVA2_PVP_SETKEY DXVA2_PVP_SETKEY; /* XXX */
typedef struct _DXVA2_DECODEBUFFERDESC {